[Koha-bugs] [Bug 7721] New: Global xslt parsing in XSLT.pm under mod_perl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 15 21:11:30 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7721

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7721
          Assignee: oleonard at myacpl.org
           Summary: Global xslt parsing in XSLT.pm under mod_perl
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: pelletiermaxime at gmail.com
          Hardware: All
            Status: NEW
           Version: rel_3_6
         Component: OPAC
           Product: Koha

When running ModPerl::PerlRunPrefork, the wrong xls file is used in opac-search
and opac-detail.
There is a global variable $stylesheet above the function XSLTParse4Display
that keeps the cached xsl files in memory. The problem is that with mod_perl it
says in memory, so it sometimes use detail xls in search and vice-versa.
Patch to follow that fixes it by transforming $stylesheet into a hash to have a
cache for each xls file.

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


More information about the Koha-bugs mailing list