[Koha-bugs] [Bug 36461] Advanced editor should disable RequireJS timeout with waitSeconds: 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 00:01:18 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36461

--- Comment #1 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 164099
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164099&action=edit
Bug 36461: Advanced editor should disable RequireJS timeout with waitSeconds: 0

We aren't actually doing any error handling with the RequireJS waitSeconds
config, just leaving the advanced editor hanging on loading if it times out,
so instead we should disable it.

Test plan:

1. Set the preference EnableAdvancedCatalogingEditor to Enable
2. Load the Cataloging module home page in Firefox and open Firefox's
   Web Developer Tools, and in the Network tab change from "No Throttling"
   to "Regular 2G"
3. In the Cataloging page, click Advanced editor, and watch it attempt to
   load for 30 seconds, followed by a setTimout error in the devtools console,
   and then wait as long as you can stand for anything but the "Loading,
   please wait..." to happen in the web page. Nothing ever will.
4. Apply the patch, restart, set EnableAdvancedCatalogingEditor back to
   Enable, turn throttling on, load the Advanced editor again, and note that
   even though it will take a minute or more to load through the throttling,
   the editor does actually load.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list