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

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.
_______________________________________________
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