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

--- Comment #10 from Victor Grousset/tuxayo <[email protected]> ---
also bug 36526


-----


IIUC, a way to fix would be to move BEGIN sections (eventually in rare cases
splitting them) containing the exports. So moving them above our bunch of `use
C4::foo`? Because one of them might transitively `use C4::the_current_module
qw( plop );`. And it fails because the exports are after the `use C4::foo`. So
it can finish processing `use C4::foo` without doing `use
C4::the_current_module qw( plop );`. Which is not ready because the exports are
not done yet.

Does a fix can look like this?:
https://gitlab.com/tuxayo/Koha/-/commit/8859404205a18bcfe06efe9f19a83871243d51a2
Is removes some warnings but I'm not sure if I moved stuff the right way at the
best place.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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