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: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org 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.