[Koha-bugs] [Bug 33744] New: Plugins not working on duplicated MARC fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 16 13:12:35 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33744
Bug ID: 33744
Summary: Plugins not working on duplicated MARC fields
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: matt.blenkinsop at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
AddEventHandlers in cataloging.js uses .data('events') which is now deprecated.
This means that a duplicated field with the upload.pl plugin doesn't function
as expected as the event handler doesn't pass to the duplicated field.
To reproduce:
1) In Administration > MARC frameworks, choose a framework and through the
actions button click on MARC structure
2) Search for field 856
3) Click on edit subfields
4) Select subfield "u" using the tabs at the top
5) At the bottom, in the dropdown menu called "Plugin", select "upload.pl"
(bottom of the list) and save
6) Navigate to Cataloging and create a new record using the framework you have
just edited
7) Click on tab 8 and check you have field 856. Click on the Upload button and
the pop up should open as expected allowing you to upload a file
8) Click on the "Repeat this tag" button for the 856 tag
9) Click on the Upload button and nothing will happen
10) Delete the cloned tag
11) On the original tag, click the "Repeat this subfield" button next to the
"Upload" button.
12) Click the "Upload" button on the new subfield and the same issue will
occur.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list