[Bug 8615] New: XSLT on OPAC is broken for incomplete 6xx fields
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 Priority: P5 - low Change sponsored?: --- Bug ID: 8615 Assignee: oleonard@myacpl.org Summary: XSLT on OPAC is broken for incomplete 6xx fields Severity: enhancement Classification: Unclassified OS: All Reporter: katrin.fischer@bsz-bw.de Hardware: All Status: NEW Version: master Component: OPAC Product: Koha Created attachment 11521 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11521&action=edit screenshot Currently the OPAC XSLT page is broken, when you data includes an 6xx field, that includes no subfield that is marked for display (empty link). I was testing with German data that includes 689 fields for transporting "Schlagwortketten". To avoid the problem the XSLT should include a check for a displayable subfields before creating the link. Example with problematic data: <datafield tag="689" ind1="1" ind2="0"> <subfield code="A">c</subfield> <subfield code="0">(DE-588c)4542874-8</subfield> <subfield code="0">(DE-576)213479192</subfield> <subfield code="2">swd</subfield> <subfield code="a">Solesmes</subfield> <subfield code="b">Kloster</subfield> </datafield> <datafield tag="689" ind1="1" ind2="1"> <subfield code="A">s</subfield> <subfield code="0">(DE-588c)4021952-5</subfield> <subfield code="0">(DE-576)20894091X</subfield> <subfield code="2">swd</subfield> <subfield code="a">Gregorianischer Gesang</subfield> </datafield> <datafield tag="689" ind1="1" ind2=" "> <subfield code="5">DE-576</subfield> </datafield> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolyn.somers@biblibre.co | |m See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=8513 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 --- Comment #1 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- Is this a duplicate of 8513 ? Or same problem ? Is this for all MARC flavors ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- The problem can occur in other places too. The problem was the empty link text breaking the HTML display. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 --- Comment #3 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- What about Bug 8678 ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I am not sure and can't test right now :( -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org