Editing script code after changing to edit mode

Editing script code after changing to edit mode

avatar

Hi.
We have our PSU git connection set up to manual commits, so if we haven't first klicked the "Edit" button we can't edit scripts but just view them. This is perfectly fine, the problem is that when I'm viewing a script and then click "Edit" I still can't edit the script without first leaving the script and then going back to it. Is this intended behaviour or just a glitch? The buttons on the top row changes, so I can for example edit script properties, but not the code itself, it still says "Cannot edit in read-only editor".

This is on version 2026.2.3

All Comments (3)

avatar

Hello daniel2,

Thank you for reporting this and for clearly describing the sequence.

Based on what you described, after selecting `Edit`, the page controls change to an editable state while the script code editor remains in read-only mode until you navigate away and reopen the script. I would like to reproduce this behavior before confirming whether it is expected or a defect.

Could you please confirm the following?

* Does this happen consistently with every script you have tested?
* Which browser are you using?
* After selecting `Edit`, does refreshing the browser page make the code editor editable, or is navigating away and reopening the script required?

I will also test the same workflow with PSU 2026.2.3 and Git configured for manual commits.

Because this is a public forum, please sanitize all evidence before posting. Remove credentials, tokens, license keys, cookies, private keys, full connection strings, email addresses, usernames, customer data, tenant or account identifiers, internal domains, hostnames, IP addresses, and private URLs. Please do not upload unredacted HAR files, memory dumps, database backups, or complete configuration files to this public thread.

Best regards,
Ruben Tapia

avatar
* Does this happen consistently with every script you have tested?


Yep. Also tried API endpoints, I see the same behaviour there.

* Which browser are you using?


I've so far tried Chrome, Firefox and Edge.

* After selecting `Edit`, does refreshing the browser page make the code editor editable, or is navigating away and reopening the script required?


No, I realized now that a simple F5 also works.

avatar

Hello daniel2,

Thank you for your patience while we investigated this behavior.

We were able to reproduce the issue in PSU 2026.2.3 using Git in Manual mode. In our testing, the global state changed correctly to `Save / Git Sync Paused`, but the Script editor remained in read-only mode and continued to prevent code changes.

The behavior was reproduced consistently across multiple attempts and was also observed with more than one Script.

Based on these results, we will proceed with the appropriate internal escalation for Development review.

We will update this thread once we have additional information to share.

Best regards,
Ruben Tapia