[Koha-bugs] [Bug 18371] New: XSLT transformation fails if UNIMARC 100$a is hidden

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 3 15:05:19 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18371

            Bug ID: 18371
           Summary: XSLT transformation fails if UNIMARC 100$a is hidden
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: synapse.ova at gmail.com
        QA Contact: testopia at bugs.koha-community.org

In UNIMARC XSLT trasformation on page opac-detail.pl fails with software error

Unsupported UNIMARC character encoding [] for XML output for UNIMARC; 100$a -> 
at /usr/share/perl5/MARC/File/XML.pm line 568.

Error occurs if subfield 100$a is made invisible in OPAC. 

It appears, that after filtering (rows 92-100), record is passed to XSLT
processing (rows 152-163), and it already lacks field 100$a (it was filtered
before). SetUTF8Flag (row 147) does not add filtered 100$a.

So right now turning 100$a OPAC visibility off leads to error when user
accesses opac-detail.pl. There is no problems with opac-MARCdetail.pl and
opac-ISBDdetail.pl — subfield is hidden correctly.

Quick fix for those, who have this problem is to make 100$a fully visible.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list