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

            Bug ID: 34218
           Summary: XSLT parse on record directly breaks OPAC display
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Hello All,

So I found it on the occasion of a specific problem and I don't know if there
are other cases where this could happen again.

When activating the "AlternateHoldingsField" system preference, if you specify
a field that is visible on the OPAC detail page and that is linked to allowed
values or branches.

In fact, in the opac-detail.pl file, we call "get_marc_notes"(Koha::Biblio) and
this one, to obtain the data, calls Koha::RecordProcessor->new, passing it the
"ExpandCodedFields" filter, which in turn calls "GetAuthorisedValueDesc", which
should retrieve the description from the code.

This call is also present when XSLT parameters are sent to the template by
passing the same record. As a result, the second time the filter is called,
empty or undef values are obtained.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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