[Koha-bugs] [Bug 8615] New: XSLT on OPAC is broken for incomplete 6xx fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 10 07:34:30 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8615
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8615
Assignee: oleonard at myacpl.org
Summary: XSLT on OPAC is broken for incomplete 6xx fields
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: katrin.fischer at 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.
More information about the Koha-bugs
mailing list