Summary: | Value builder marc21_linking_section.pl for creating 77x is broken | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Cataloging | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | m.de.rooy, nick |
Version: | 20.05 | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28828 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 22399 | ||
Bug Blocks: |
Description
Katrin Fischer
2021-07-22 14:46:41 UTC
Sometimes the additional window closes, but no information is transferred to the framework fields. 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. 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; } I fixed the JavaScript error, but still no luck. OK, adding another parentNode here, seems to do the trick: var subfields = whichfield.parentNode.parentNode.parentNode.getElementsByTagName('input'); I fix both on 22399 with my version 'closest' rather than several 'parentNode' (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? (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 *** This bug has been marked as a duplicate of bug 28828 *** |