After submitting a batch of bibliographic records for modification, clicking the "Show MARC" buttons don't work. An error is in the console: Can't call method "as_formatted" on an undefined value at /kohadevbox/koha/svc/records/preview line 74
Created attachment 145278 [details] [review] Bug 32631: Error when previewing record during batch record modification This patch corrects an error in the script which outputs MARC data for preview during batch record modification. To test, apply the patch and restart services. You will need at least one MARC modification template in your system. - Go to Cataloging -> Batch record modification - Submit a batch of bibliographic records - In the table of records that follows, click any "Show MARC" button. A modal window should appear with a preview of the modified record.
Created attachment 145325 [details] [review] Bug 32631: Error when previewing record during batch record modification This patch corrects an error in the script which outputs MARC data for preview during batch record modification. To test, apply the patch and restart services. You will need at least one MARC modification template in your system. - Go to Cataloging -> Batch record modification - Submit a batch of bibliographic records - In the table of records that follows, click any "Show MARC" button. A modal window should appear with a preview of the modified record. Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Fix is simple and makes perfect sense, QA script is happy.
Created attachment 145592 [details] [review] Bug 32631: Error when previewing record during batch record modification This patch corrects an error in the script which outputs MARC data for preview during batch record modification. To test, apply the patch and restart services. You will need at least one MARC modification template in your system. - Go to Cataloging -> Batch record modification - Submit a batch of bibliographic records - In the table of records that follows, click any "Show MARC" button. A modal window should appear with a preview of the modified record. Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Not needed in 22.05.x
*** Bug 33347 has been marked as a duplicate of this bug. ***
*** Bug 32160 has been marked as a duplicate of this bug. ***