Page 1 of 1

Version 5.5.153 - Script Signing cropping last lines of code

Posted: Tue Jul 31, 2018 8:43 am
by mnelson
Product, version and build:
32 or 64 bit version of product: Sapien PowerShell 2018 5.5.153
Operating system: Windows 10 Edu 1803 July '18 Patch
32 or 64 bit OS: 64bit

*** Please add details and screenshots as needed below. ***

The newest update has been creating a problem with script saving and certificate signing. When a change is made, the script signing deletes the last line (Or overwriting it). This can be problematic as it's been replacing/cropping closing brackets or even overwriting my code.

Thanks for any advice or updates you can provide! This didn't happen in 5.5.152 update.

Re: Version 5.5.153 - Script Signing cropping last lines of code

Posted: Tue Jul 31, 2018 9:47 am
by davidc
We are unable to reproduce this issue on our end.

Please take a screenshot of your signing setting (Options->PowerShell) and if you can, zip and upload the script in question here:

https://www.sapien.com/support/upload

Does this occur with a particular script file or all your files?

Re: Version 5.5.153 - Script Signing cropping last lines of code

Posted: Thu Aug 09, 2018 11:12 am
by mnelson
Sorry in advance for the delays busy trying to finish projects and work before the start of the new semester.

So it does it with pretty much any script that I have. When you save the file, it crops the last line from the script and replaces the Signature Block. Saving it multiple times without having created empty lines will cause it to clip/crop the last lines of my code.

We use an internal PKI Certificate infrastructure that I created that hasn't had any issues. If I use a script signing tool I have, it doesn't have any of the issues, it just updates the Signature Block. I have another computer with version 5.5.152 that doesn't have the problem with the script files I use on my primary computer.

I might have to remove 5.5.153 from my primary as it has caused some occasional problems for me. :P

I'll upload a reduced version of my script when I get the chance. Some of the material within is internal and sensitive.

Re: Version 5.5.153 - Script Signing cropping last lines of code

Posted: Thu Aug 09, 2018 4:17 pm
by davidc
We are still unable to reproduce the issue. We plan to release a new build next week, so let's see if the issue persists with the new version.

If you are encountering other issues, I highly recommend posting them here so that they can be addressed.

Re: Version 5.5.153 - Script Signing cropping last lines of code

Posted: Tue Aug 21, 2018 6:07 am
by mnelson
Just installed 5.5.154 today and it seems to have resolved the issue. Might have been a weird bug, but it was present on my and other co-workers install of .153. The behavior was never exhibited in .152.

Just thankful that the .154 update is working again! Much appreciated team.

Re: Version 5.5.153 - Script Signing cropping last lines of code

Posted: Wed Aug 22, 2018 7:26 am
by davidc
Thank you for the update. I'm glad to hear the issue has been resolved.