You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that if you update the contents of a script that the displayed script content does not get updated, despite the script in the backend changing. I have one unscheduled script that is being ignored in git thats purpose is to test one-off commands from the production environment. In earlier (pre-5.0) versions there was never any issue saving the script. In earlier versions of 5.x you had to open an Edit for the entire application, which then paused the git sync and enabled editing. In 5.5.2 that edit option is gone and it appears that you can edit the scripts just like in pre-5.0 versions. However I noticed that the script is not saving as expected. The Save button never stops spinning, and when you refresh the browser it shows the previous script that was in there. However when you then run the script it runs what you saved.
Steps to reproduce:
Automation > Scripts > Edit Code of the script
Paste/type the new script into the text box. Either click Save or type Ctrl-S
The Save icon spins and never stops
Refresh the browser, prompting a popup from the browser saying that changes I made may not be saved. Both F5 and Ctrl-F5 produce the same response
When the page loads it displays the old script contents, not what was just saved
When you run the script it runs what you saved, even though its not what is displayed as the code for the script
I confirmed that this also affects scripts updated via git sync. To verify:
Push the new script to production
Wait for the git sync, or run the sync manually
Go to the contents of the script. It shows what was previously there
Run the script. It runs what you just pushed
Everything appears to be running normally, so its just a UI bug
Version 5.5.2
I have noticed that if you update the contents of a script that the displayed script content does not get updated, despite the script in the backend changing. I have one unscheduled script that is being ignored in git thats purpose is to test one-off commands from the production environment. In earlier (pre-5.0) versions there was never any issue saving the script. In earlier versions of 5.x you had to open an Edit for the entire application, which then paused the git sync and enabled editing. In 5.5.2 that edit option is gone and it appears that you can edit the scripts just like in pre-5.0 versions. However I noticed that the script is not saving as expected. The Save button never stops spinning, and when you refresh the browser it shows the previous script that was in there. However when you then run the script it runs what you saved.
Steps to reproduce:
I confirmed that this also affects scripts updated via git sync. To verify:
Everything appears to be running normally, so its just a UI bug