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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 28 23:57:45 CET 2024


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

            Bug ID: 36461
           Summary: Advanced editor should disable RequireJS timeout with
                    waitSeconds: 0
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: phil at chetcolibrary.org
          Reporter: phil at chetcolibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

We currently set waitSeconds: 30 for RequireJS in the advanced editor, which as
bug 35799 says just causes loading of the editor to hang forever if loading any
required part (which practially speaking means loading
svc/cataloguing/framework) takes more than 30 seconds.

As jrburke says in https://github.com/requirejs/requirejs/issues/787
waitSeconds exists to show developers why things aren't working when they try
to require something that 404s, and to allow error handling in old versions of
IE. But since we aren't doing any error handling, we'd be better off setting it
to 0, which disables the timeout, and just letting things load no matter how
long they take.

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


More information about the Koha-bugs mailing list