https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569
Bug ID: 32569
Summary: CloneSubfield() and CloneField() function can result
in duplicate ID's when using the upload cataloging
plugin
Change sponsored?: ---
Product: Koha
Version: master
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]
This problem was exposed when trying to clone 856 fields while using the
upload.pl cataloging plugin.
To recreate:
1. Edit a framework so that the 856$u uses the upload.pl plugin.
2. Go to a record within that framework using the basic editor.
3. Create and 856u, if you don't already have one.
4. Now try and clone the entire field. Look at the ID on the upload button, it
beings with 'buttonDot_tag_856_subfield_u_'
5. Notice that the ID is the same as the one you cloned it from. Because of
this you cannot use the 2nd 'upload link'.
6. Save you changes and exit the basic editor.
7. Go back into the editor and the new fields now have a different ID and the
upload links work correctly.
--
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/