Bug 35662

Summary: Improper redirection to Advanced Editor when saving in Basic Editor, Save fails
Product: Koha Reporter: Esther Melander <esther.melander>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: RESOLVED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas, m.de.rooy, tgoatley
Version: 23.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Esther Melander 2023-12-28 18:47:12 UTC
In the past, Koha remembered which editor style was opened/used last. This behavior appears to have been changed in 23.05. If the Advanced Editor is enabled, it opens by default every time. Previously a new session always started with the Basic Editor by default. There also now appears to be a redirection problem and save failure.

To replicate
1. Ensure the Advanced Editor is enabled.
2. Find a record and Edit.
3. Switch to the basic editor.
4. Edit the record by adding the word Test to the title.
5. Click on Save.

See that the Advanced Editor opens and the edit is lost.
Comment 1 Todd Goatley 2024-01-22 19:58:33 UTC
Orange County Law reports that they're experiencing this issue through the biblonumber edit feature available in reports. The cataloger reports that it is not consistent but consistent enough to be problematic.
Comment 2 Lucas Gass 2024-01-22 21:36:58 UTC
I cannot recreate this on master.
Comment 3 Esther Melander 2024-01-23 16:56:34 UTC
It looks like this behavior was caused by custom javascript on my test site. Removing that code solved the problem. Closing this bug report.