[Bug 42651] New: When CatalogConcerns is enabled the concern table is not loaded on detail.pl and a Uncaught TypeError is thrown
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Bug ID: 42651 Summary: When CatalogConcerns is enabled the concern table is not loaded on detail.pl and a Uncaught TypeError is thrown Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: bibliothek@th-wildau.de QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl to create the error: - enable system pref CatalogConcerns - open dev tools -> console - open a biblio f.e. cgi-bin/koha/catalogue/detail.pl?biblionumber=268 - Firefox says: Uncaught TypeError: can't access property "unique", r[o][t] is undefined - check the concern table is not loaded. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42283 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42283 [Bug 42283] Tidy all script tags - cataloguing -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #1 from Jan Kissig <bibliothek@th-wildau.de> --- okay found the reason: table_settings was set twice on detail.tt once in when Koha.Preference('AcquisitionDetails') enabled and once when Koha.Preference('CatalogConcerns') Going to fix that in 42283 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #2 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- This effects 26.05 and Bug 42283 is not backport-able. So I am re-opening this. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |Laura.escamilla@bywatersolu |ity.org |tions.com Status|REOPENED |Needs Signoff --- Comment #3 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Tested on 26.05 and confirmed that the JavaScript error no longer occurs, the Concerns table loads correctly, and both tables function as expected. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 --- Comment #4 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Created attachment 208742 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208742&action=edit Bug 42651: Fix Catalog Concerns table initialization To test: 1. Enable the CatalogConcerns and AcquisitionDetails system preferences. 2. Open a bibliographic record in the staff interface. 3. Open the browser developer console. 4. Confirm a JavaScript error occurs and the Concerns table does not load. 5. Apply the patch. 6. Refresh the bibliographic record. 7. Confirm the JavaScript error no longer occurs. 8. Confirm the Concerns table loads correctly. 9. Verify the Hide resolved and Show all controls work. 10. Confirm the Acquisition Details table still works. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42651 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |Fixes a JavaScript error release notes| |that prevented the Catalog | |Concerns table from loading | |on bibliographic detail | |pages when Acquisition | |Details was enabled. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org