Summary: | Many "subroutine redefined" warnings from C4 and Koha modules | ||
---|---|---|---|
Product: | Koha | Reporter: | Mason James <mtj> |
Component: | Architecture, internals, and plumbing | Assignee: | Galen Charlton <gmcharlt> |
Status: | NEW --- | QA Contact: | |
Severity: | minor | ||
Priority: | P5 - low | CC: | jonathan.druart, ketan |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 34838 | ||
Bug Blocks: | 25790 |
Description
Mason James
2012-10-03 21:32:27 UTC
Modules like C4::Members C4::Circulation C4::Accounts C4::Letters have use Reserve; in them. And C4::Reserve in turn uses the above modules. The list grew longer since this was posted (35 -> 46). 36 now.(In reply to Katrin Fischer from comment #2) > The list grew longer since this was posted (35 -> 46). 36 now. This is not specific to C4/Reserves.pm. We have circular dependencies in all our C4 modules. (In reply to Jonathan Druart from comment #4) > This is not specific to C4/Reserves.pm. We have circular dependencies in all > our C4 modules. How should we go about this? Is there a chance to fix those or is this more a matter of moving more things to Koha: to clean up the code more? (In reply to Katrin Fischer from comment #5) > (In reply to Jonathan Druart from comment #4) > > This is not specific to C4/Reserves.pm. We have circular dependencies in all > > our C4 modules. > > How should we go about this? Is there a chance to fix those or is this more > a matter of moving more things to Koha: to clean up the code more? Not really... % perl -w C4/Circulation.pm 2>&1|wc -l 53 % perl -w C4/Reserves.pm 2>&1|wc -l 35 % perl -w Koha/Item.pm 2>&1|wc -l 56 % perl -w Koha/Patron.pm 2>&1|wc -l 83 |