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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to