| Summary: | Batch record modification - show MARC preview no longer works | ||
|---|---|---|---|
| Product: | Koha | Reporter: | David Nind <david> |
| Component: | Cataloging | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | m.de.rooy, mvsreedharan, phil |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
David Nind
2022-11-10 01:44:10 UTC
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
Batch record modification is not working in koha 22.05.07 |