[Bug 32569] New: CloneSubfield() and CloneField() function can result in duplicate ID's when using the upload cataloging plugin
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: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic@tamil.fr Depends on| |30975 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30975 [Bug 30975] Framework plugins do not work on cloned fields/subfields -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- This works for me. Apparently solved by bug 33744. Please try again. Reopen if needed. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569 --- Comment #2 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Also note that 30975 still improves this code. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32569 Bug 32569 depends on bug 30975, which changed state. Bug 30975 Summary: Use event delegation for framework plugins to avoid using private jQuery method _data https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30975 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org