Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    otterpowershell
    3 Posts 1 Posters 3 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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!

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Awesome Dean. Thanks for taking a look.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation