Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Otter 1.5 - Powershell script Assets are altering the trailing lines of scripts



  • Kind of an odd error, but powershell scripts that I have uploaded to Otter as assets are sometimes saving with duplication of the last couple lines. It seems like it may be centered around the "Stop-Transcript" command.

    Image Text

    Note the last few lines. It has pulled a portion of line 28 and appended it to line 30 on its own and added 30 to line 32 with an extra "t" on the end.

    This script luckily isn't changed because this portion was commented out, but starting at line 30, it used to only read "#Stop-Transcript". I have added various other similar scripts and have seen up to 3 additional lines tacked on to the end. Sometimes entire lines, sometimes just extra characters, like the extra "t" on the last line.

    The additional problem is that when trying to fix this if I delete all of the extra junk and save, then no changes are saved. The only fix appears to be completely deleting the asset and creating it again.

    Has anyone seen this before or know of a solution? Thanks!



  • We've found that this is a regression in 1.5.0 introduced with some database raft performance enhancements. We'll get a 1.5.1 maintenance release out today to fix this. Thanks for the bug report!



  • Awesome Dean. Thanks for taking a look.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation