Bug 24100

Summary: "Pay selected" is broken
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Fines and feesAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: martin.renvoize, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
19.11.00
Circulation function:
Bug Depends on: 23788    
Bug Blocks:    
Attachments: Bug 24100: (bug 23788 follow-up) Capitalization correction
Bug 24100: (bug 23788 follow-up) Capitalization correction

Description Katrin Fischer 2019-11-24 20:39:58 UTC
When using the "Pay selected" button to pay manual fees, I have the following error:

Can't locate object method "search" via package "koha::account::lines" (perhaps you forgot to load "koha::account::lines"?) at /home/vagrant/kohaclone/members/paycollect.pl line 146
Comment 1 Martin Renvoize (ashimema) 2019-11-25 11:18:48 UTC
Not sure how `koha::account::lines` crept it.. when I QA'd the relevant bug it was `Koha::Account::Lines`.. perhaps a subsequent rebase.. 

Just testing a fix now.
Comment 2 Martin Renvoize (ashimema) 2019-11-25 11:25:27 UTC
Created attachment 95779 [details] [review]
Bug 24100: (bug 23788 follow-up) Capitalization correction

Correct the capitalization of the class name introduced in bug 23788.

Test plan:
1) Prior to patch attempt to 'pay off selected' - Note a server error
2) Apply patch
3) Attempt to 'pay off selected' - Note it now works as expected.
4) Signoff
Comment 3 Tomás Cohen Arazi (tcohen) 2019-11-25 14:09:45 UTC
Created attachment 95788 [details] [review]
Bug 24100: (bug 23788 follow-up) Capitalization correction

Correct the capitalization of the class name introduced in bug 23788.

Test plan:
1) Prior to patch attempt to 'pay off selected' - Note a server error
2) Apply patch
3) Attempt to 'pay off selected' - Note it now works as expected.
4) Signoff

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 4 Tomás Cohen Arazi (tcohen) 2019-11-25 14:10:44 UTC
Trivial typo fix, skipping QA step.
Comment 5 Martin Renvoize (ashimema) 2019-11-25 17:03:58 UTC
Nice work!

Pushed to master for 19.11.00