Bug 15900

Summary: Remove use of recordpayment in ProcessOfflinePayment
Product: Koha Reporter: Kyle M Hall <kyle>
Component: Architecture, internals, and plumbingAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bgkriegel, jonathan.druart+koha, veron
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 15895    
Bug Blocks: 15899    
Attachments: Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment
Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment
Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers
Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers

Description Kyle M Hall 2016-02-24 15:27:36 UTC

    
Comment 1 Kyle M Hall 2016-02-24 15:28:41 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2016-05-10 00:55:32 UTC
On top of 15895, test fails

prove t/db_dependent/Circulation.t
t/db_dependent/Circulation.t .. 1/83 Can't locate object method "find" via package "Koha::Borrowers" (perhaps you forgot to load "Koha::Borrowers"?) at /home/bgkriegel/kohaclone/C4/Circulation.pm line 3912.

Am I missing something?
Comment 3 Kyle M Hall 2016-06-07 15:11:16 UTC Comment hidden (obsolete)
Comment 4 Josef Moravec 2016-08-23 06:14:27 UTC
Created attachment 54742 [details] [review]
Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment

Test plan:
1) Apply this patch
2) prove t/db_dependent/Circulation.t

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 5 Jonathan Druart 2016-08-23 11:21:59 UTC
(In reply to Bernardo Gonzalez Kriegel from comment #2)
> On top of 15895, test fails
> 
> prove t/db_dependent/Circulation.t
> t/db_dependent/Circulation.t .. 1/83 Can't locate object method "find" via
> package "Koha::Borrowers" (perhaps you forgot to load "Koha::Borrowers"?) at
> /home/bgkriegel/kohaclone/C4/Circulation.pm line 3912.
> 
> Am I missing something?

Same here.
Comment 6 Kyle M Hall 2016-09-06 15:08:34 UTC
Created attachment 55261 [details] [review]
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers

Since the initial submission of this patch, the module Koha::Borrowers
has been moved to Koha::Patrons. This patch changes the call from
Koha::Borrowers to Koha::Patrons.
Comment 7 Jonathan Druart 2016-09-28 11:08:07 UTC
Created attachment 55872 [details] [review]
Bug 15900 - Remove use of recordpayment in ProcessOfflinePayment

Test plan:
1) Apply this patch
2) prove t/db_dependent/Circulation.t

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 8 Jonathan Druart 2016-09-28 11:08:12 UTC
Created attachment 55873 [details] [review]
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers

Since the initial submission of this patch, the module Koha::Borrowers
has been moved to Koha::Patrons. This patch changes the call from
Koha::Borrowers to Koha::Patrons.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 9 Kyle M Hall 2016-09-29 11:15:36 UTC
Pushed to master for 16.11!