[BUG] Saving changes to script libraries doesn't push updates to Perspective sessions

v8.1.28

When making changes to scripts that are called by Perspective component actions, if you don't edit a Perspective View as well before you save, the script changes aren't pushed to the session, and clicking on buttons that call these edited scripts will still run the old ones.

On a side note, this doesn't really make sense to me, since the scripts are run on the gateway, not the sessions... I'd really like to understand why this is the case

I would presume the sessions are holding onto the old ScriptManager. Sounds like a bug.

1 Like

This is a bug that we've already fixed, but it's awaiting QA. Expect the fix in 8.1.30 or .31, probably.

1 Like

I still have this issue in 8.1.48. It is annoying when developing, but I am more concerned that this might happen when "pushing code to prod" with 200 clients open and only half getting the updated script?

1 Like

You should contact our support department officially (https://support.inductiveautomation.com/hc/en-us) so they can work with you to isolate the problem and we can get it fixed. We haven't had any other reports of the issue since around the time Nick reported it here.

1 Like