Summary: | Move HasOverdues to Koha::Patron->has_overdues | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 16849 | ||
Bug Blocks: | 16846, 16850 | ||
Attachments: |
Bug 16851: Move HasOverdues to Koha::Patron->has_overdues
Bug 16851: Move HasOverdues to Koha::Patron->has_overdues Bug 16851: Move HasOverdues to Koha::Patron->has_overdues [SIGNED-OFF] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues Bug 16851: Move HasOverdues to Koha::Patron->has_overdues Bug 16851 [QA Followup] - Fix Unit Tests Bug 16851 [QA Followup] - Fix Unit Tests |
Description
Jonathan Druart
2016-07-04 16:37:00 UTC
Created attachment 53094 [details] [review] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues This patch just move C4::Members::HasOverdues to Koha::Patron->has_overdues and updated callers Test plan: No change in behavior is expected. 1/ If a patron is debarred and does not have overdues and AutoRemoveOverduesRestrictions is on, the debarment will be removed on checkin 2/ Add overdues and make sure the patron cannot renew I'm getting an error when opening the circulation or patron detail pages for a patron: Template process failed: plugin error - Global symbol "$borrower" requires explicit package name at Koha/Template/Plugin/Borrowers.pm line 57. Compilation failed in require at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Plugins.pm line 206. Created attachment 53325 [details] [review] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues This patch just move C4::Members::HasOverdues to Koha::Patron->has_overdues and updated callers Test plan: No change in behavior is expected. 1/ If a patron is debarred and does not have overdues and AutoRemoveOverduesRestrictions is on, the debarment will be removed on checkin 2/ Add overdues and make sure the patron cannot renew (In reply to Owen Leonard from comment #2) > I'm getting an error when opening the circulation or patron detail pages for > a patron: > > Template process failed: plugin error - Global symbol "$borrower" requires > explicit package name at Koha/Template/Plugin/Borrowers.pm line 57. > Compilation failed in require at > /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Plugins.pm line 206. Sorry about that Owen! Silly c/p error... Applying: Bug 16851: Move HasOverdues to Koha::Patron->has_overdues fatal: sha1 information is lacking or useless (C4/Circulation.pm). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 16851: Move HasOverdues to Koha::Patron->has_overdues Created attachment 53511 [details] [review] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues This patch just move C4::Members::HasOverdues to Koha::Patron->has_overdues and updated callers Test plan: No change in behavior is expected. 1/ If a patron is debarred and does not have overdues and AutoRemoveOverduesRestrictions is on, the debarment will be removed on checkin 2/ Add overdues and make sure the patron cannot renew Created attachment 53996 [details] [review] [SIGNED-OFF] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues This patch just move C4::Members::HasOverdues to Koha::Patron->has_overdues and updated callers Test plan: No change in behavior is expected. 1/ If a patron is debarred and does not have overdues and AutoRemoveOverduesRestrictions is on, the debarment will be removed on checkin 2/ Add overdues and make sure the patron cannot renew Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 55190 [details] [review] Bug 16851: Move HasOverdues to Koha::Patron->has_overdues This patch just move C4::Members::HasOverdues to Koha::Patron->has_overdues and updated callers Test plan: No change in behavior is expected. 1/ If a patron is debarred and does not have overdues and AutoRemoveOverduesRestrictions is on, the debarment will be removed on checkin 2/ Add overdues and make sure the patron cannot renew Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 55425 [details] [review] Bug 16851 [QA Followup] - Fix Unit Tests Created attachment 55426 [details] [review] Bug 16851 [QA Followup] - Fix Unit Tests Pushed to master for 16.11, thanks Jonathan! |