[Bug 28738] New: Value builder marc21_linking_section.pl for creating 77x is broken
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28738 Bug ID: 28738 Summary: Value builder marc21_linking_section.pl for creating 77x is broken Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl This is quite a neat plugin to create links between records that usually works on all 7xx. But in latest 20.11 (and possibly higher up as my research turned up no changes), this is broken. To test: * link marc21_linking_section.pl as value builder to 773 a or another 77x subfield. * Make sure some of the important subfields like a, t, w, etc. are visible in your framework * Create a new record within that framework within the standard editor * Look for your 7xx subfield with the plugin and click the plugin icon * Search for the record to link * Click on choose * Verify a new window opens and the subfields are not filled in the framework -- 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=28738 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Sometimes the additional window closes, but no information is transferred to the framework fields. -- 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=28738 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Ok, another revelation: If I like it to $a and there is an author, the author will be filled in. But $t with the title remains empty. So the issue appears to be related to filling in multiple subfields from one plugin. -- 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=28738 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- There is a syntax error in the plugin pop up shown in the console: Uncaught SyntaxError: expected expression, got '%' function finish() { opener.document.f.field_value[[ % index % ]].value = document.f_pop.result.value; self.close(); return false; } -- 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=28738 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I fixed the JavaScript error, but still no luck. -- 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=28738 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- OK, adding another parentNode here, seems to do the trick: var subfields = whichfield.parentNode.parentNode.parentNode.getElementsByTagName('input'); -- 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=28738 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=28828 -- 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=28738 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |22399 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22399 [Bug 22399] Improve responsive behavior of the basic marc editor -- 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=28738 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #6 from Nick Clemens <nick@bywatersolutions.com> --- I fix both on 22399 with my version 'closest' rather than several 'parentNode' -- 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=28738 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Nick Clemens from comment #6)
I fix both on 22399 with my version
'closest' rather than several 'parentNode'
Sorry, not seeing it there - can you explain a bit more? -- 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=28738 --- Comment #8 from Nick Clemens <nick@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #7)
(In reply to Nick Clemens from comment #6)
I fix both on 22399 with my version
'closest' rather than several 'parentNode'
Sorry, not seeing it there - can you explain a bit more?
Oops, 28828 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28828 -- 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=28738 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Nick provided a fix on bug 28828. *** This bug has been marked as a duplicate of bug 22399 *** -- 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=28738 --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** This bug has been marked as a duplicate of bug 28828 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org