[Bug 32160] New: Batch record modification - show MARC preview no longer works
New template > give it a name and click submit > add a 'New action" (for example: Add new 500$a with value 'OK')).
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32160 Bug ID: 32160 Summary: Batch record modification - show MARC preview no longer works Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: david@davidnind.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl When clicking on the 'Show MARC' action from the list of records to be modified using Cataloguing > Batch record modification, it shows as 'Loading' and does not complete the display of the modified MARC record. In the web developer tools an error is displayed: 14:24:26.131 XHR GET http://127.0.0.1:8081/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=262&mmtid=3&overlay_context=batchmod [HTTP/1.1 500 Internal Server Error 87ms] To replicate using koha-testing-docker (KTD): 1. Add a MARC modification template (Cataloguing > MARC modification templates 2. Modify a batch of records (Cataloguing > Batch record modification): - For 'Enter a list of record numbers' enter 17 and 262 (sample data for KTD) - Choose the template you created in step 1 - Press Continue 3. Enable the web developer tools console. 3. From the results list, click on 'Show MARC'. 4. On the modal window, note that the spinner says 'Loading', and doesn't complete the display of the MARC. 5. Note that in the web developer tools console there is an error: 14:24:26.131 XHR GET http://127.0.0.1:8081/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=262&mmtid=3&overlay_context=batchmod [HTTP/1.1 500 Internal Server Error 87ms] -- 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=32160 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It looks to me like the problem might be that we are trying to use the templates on the record we view there (preview of changes) and that this failes. My action was a simple "delete field xxx" Can't call method "field" on an undefined value at /kohadevbox/koha/Koha/SimpleMARC.pm line 534 Koha::SimpleMARC::_delete_field('HASH(0x560470731670)') called at /kohadevbox/koha/Koha/SimpleMARC.pm line 522 Koha::SimpleMARC::delete_field('HASH(0x56046fff90a8)') called at /kohadevbox/koha/C4/MarcModificationTemplates.pm line 630 C4::MarcModificationTemplates::ModifyRecordWithTemplate(1, undef) called at /kohadevbox/koha/svc/records/preview line 53 eval {...} at /kohadevbox/koha/svc/records/preview line 2 -- 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=32160 Sreedharan M V <mvsreedharan@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvsreedharan@yahoo.com --- Comment #2 from Sreedharan M V <mvsreedharan@yahoo.com> --- Batch record modification is not working in koha 22.05.07 -- 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=32160 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE CC| |phil@chetcolibrary.org --- Comment #3 from Phil Ringnalda <phil@chetcolibrary.org> --- Broken by bug 29697, fixed by bug 32631 *** This bug has been marked as a duplicate of bug 32631 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org