https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36769
Bug ID: 36769
Summary: Adding new subfield to 952 in default framework causes
500 error
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
To recreate:
1. Edit the Default framework, 952 tag.
2. Try to add a subfield 12 as a custom note field for the 952.
500 error:
Duplicate IDDuplicate IDDuplicate ID
[2024/05/02 12:04:51] [WARN] DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Duplicate entry '952-1' for key
'PRIMARY' at /usr/share/koha/lib/Koha/Object.pm line 170
The Default framework uses the numbers 0-9, and letters a-z, with k set aside
for libraries that make their catalogs available for z39.50. I'm sure this is
an intended limitation to prevent subfields with double digits and characters.
Many libraries like to add custom fields to the 952. Some will reconfigure an
existing subfield with a new name. It is also possible to add a new field with
a capital letter, like 'A'. It may be helpful to add to the documentation on
frameworks/subfields in the Koha manual what is actually available for use.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/