[Bug 28143] New: @INC filled with duplicates of opachtdocs and intrahtdocs
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@lists.koha-community.org Reporter: julian.maurice@biblibre.com QA Contact: testopia@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |didier.gautheron@biblibre.c | |om -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 Didier Gautheron <didier.gautheron@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 --- Comment #1 from Didier Gautheron <didier.gautheron@biblibre.com> --- Created attachment 119553 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119553&action=edit Bug 28143: Copy array before modifying it for testing To test: 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" 6. Apply patch 7. Redo 3 8. No more template directories. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |didier.gautheron@biblibre.c |ity.org |om -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28143 Joonas Kylmälä <joonas.kylmala@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|Needs Signoff |RESOLVED CC| |joonas.kylmala@iki.fi --- Comment #2 from Joonas Kylmälä <joonas.kylmala@iki.fi> --- Fixed already by bug 28303. *** This bug has been marked as a duplicate of bug 28303 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org