[Koha-bugs] [Bug 28143] New: @INC filled with duplicates of opachtdocs and intrahtdocs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 13 15:13:54 CEST 2021


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

            Bug ID: 28143
           Summary: @INC filled with duplicates of opachtdocs and
                    intrahtdocs
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: julian.maurice at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Steps to reproduce:
1. Have a $KOHA_CONF with at least 2 'pluginsdir' entries. You need at least
one plugin with a 'tool', 'report', or 'configure' method. This will be useful
to trigger the loading of Koha::Plugins::Handler. The KitchenSink module is
perfect for that.
2. Start starman with only 1 worker (not necessary but it's easier to reproduce
the problem that way)
3. Load staff client home page multiple times
4. Run the plugin method of your choice
5. Go to the About page, you should see the template directories in "Perl @INC"

The problem is located in C4::Templates::badtemplatecheck, which push
'opachtdocs' and 'intrahtdocs' config entries directly into the 'pluginsdir'
key of global variable $context

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


More information about the Koha-bugs mailing list