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

            Bug ID: 39888
           Summary: Error on acquisitions home when no budgets are defined
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

We see the following error in the browser console when loading acqui-home.pl
without any budgets defined:

Cannot read properties of undefined (reading 'DataTable')

This is due to loading a large chunk of javascript to deal with a table we opt
not to load into the DOM at all when budgets are not found.

This causes cypress test failures as there appears to be a transaction that
removes budgets somewhere in our test suite.

Either way, we shouldn't load the JS when there's no DOM to action upon.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to