https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40997
Bug ID: 40997
Summary: Javascript error prevents saving when an instance of
an 'important field is deleted
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When a record has multiple instances of a field marked as 'important' and a
cataloger removes one or more of the instances, and one is left in place,
saving the record fails with:
Uncaught TypeError: can't access property "getElementsByTagName", elem is null
AreFieldsNotOk
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=Default&breedingid=38:3841
Check
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=Default&breedingid=38:3923
onOption
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=Default&breedingid=38:782
<anonymous>
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=Default&breedingid=38:698
jQuery 2
To recreate:
1 - In Admin - MARC bibliographic frameworks edit the default framewwork and
edit 650 tag and mark it as important
2 - Go to cataloging -> new from z39.50
3 - Find a record with mulltiple 650 fields
4 - Delete one of the fields
5 - Attempt to save the record - nothing happens
6 - Check the console log in the browser, see the error noted above
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/