Bug 4978 - Longoverdues.pl claims undefined subroutine ModItem
Summary: Longoverdues.pl claims undefined subroutine ModItem
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: rel_3_2
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 20:12 UTC by Ian Walls
Modified: 2012-10-25 22:53 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
patch for bug 4978 (859 bytes, patch)
2010-07-08 20:23 UTC, Ian Walls
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Walls 2010-07-08 20:12:59 UTC
Longoverdue returns this error rather than executing (when --confirm flag is used)

14565  /  139596  at /home/koha/kohaclone/C4/Accounts.pm line 320.
Undefined subroutine &C4::Accounts::ModItem called at /home/koha/kohaclone/C4/Accounts.pm line 323.

Seems to be assuming that ModItem is in C4::Accounts; must require explicit declaration of C4::Items
Comment 1 Ian Walls 2010-07-08 20:23:18 UTC
Created attachment 2334 [details] [review]
patch for bug 4978
Comment 2 Galen Charlton 2010-07-08 22:44:02 UTC
Patch pushed.  Please test and close.
Comment 3 Ian Walls 2010-09-17 18:16:54 UTC
Tested fix over the last several months, no recurrences found.  Closing