To reproduce: 1. Create a simple MARC modification template and action (tool now found under Cataloguing) 2. Go to Batch record modification 3. Enter a biblionumber and select your template 4. Click the Show MARC button to preview your changes 5. Notice there is an error in the plack log and the preview never loads
Created attachment 148788 [details] [review] Bug 33347: Fix MARC preview when applying modification template A previous fix to use $biblio->metadata->record accidentally broke the MARC preview when applying a MARC modification template. This patch makes sure the record is correctly fetched. To test: 1. Create a simple MARC modification template and action (tool now found under Cataloguing) 2. Go to Batch record modification 3. Enter a biblionumber and select your template 4. Click the Show MARC button to preview your changes 5. Notice there is an error in the plack log and the preview never loads 6. Apply the patch and refresh the page 7. Click the Show MARC button to preview your changes 8. Confirm the MARC preview successfully loads Sponsored-by: Education Services Australia SCIS
*** This bug has been marked as a duplicate of bug 32631 ***