Bug 12292

Summary: Members are restricted even if the debarment is ended - moremember.pl
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: PatronsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Martin Renvoize <martin.renvoize>
Severity: major    
Priority: P5 - low CC: bgkriegel, fridolin.somers, gmcharlt, kyle.m.hall, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13107
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13108
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 2720, 12134    
Bug Blocks:    
Attachments: Bug 12292: (followup) ensure that patrons are not restricted even when the last restriction has expired
[SIGNED-OFF] Bug 12292: (followup) ensure that patrons are not restricted even when the last restriction has expired
[PASSED QA] Bug 12292: (followup) ensure that patrons are not restricted even when the last restriction has expired
Bug 12061 - tmpl_process3.pl - Include/exclude file by name

Description Jonathan Druart 2014-05-20 14:08:56 UTC
Same issue as bug 12134 on the members/moremember.pl

This is not critical since the circulation workflow is not bloked.
Comment 1 Jonathan Druart 2014-05-20 14:12:31 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2014-05-22 13:18:57 UTC Comment hidden (obsolete)
Comment 3 Martin Renvoize 2014-05-22 13:23:15 UTC
Created attachment 28440 [details] [review]
[PASSED QA] Bug 12292: (followup) ensure that patrons are not restricted even when the last restriction has expired

This is the same issue as bug 12134.

Test Plan:
1) Add a manual restriction to a patron and wait until the
   expiration date of the restriction has passed.  This can be
   simulated by modifying borrowers.debarred for a borrower and
   setting the date in the past.
2) Go on the detail page for a patron (members/moremember.pl)
3) Note the warning message
    "Patron is restricted until XX/XX/XXXX View restrictions"
4) Apply this patch
5) Repeat step 2
6) Note the warning message does not appear anymore

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described, no errors.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 4 Martin Renvoize 2014-05-22 13:24:18 UTC
Trivial patch, works as advertised and passes QA scripts.
Comment 5 Galen Charlton 2014-05-22 16:56:16 UTC
Pushed to master.  Thanks, Jonathan!
Comment 6 Bernardo Gonzalez Kriegel 2014-05-23 01:17:23 UTC Comment hidden (obsolete)
Comment 7 Bernardo Gonzalez Kriegel 2014-05-23 01:18:27 UTC
Sorry for that, wrong Bug
Comment 8 Fridolin Somers 2014-07-11 06:45:46 UTC
Pushed to 3.14.x, will be in 3.14.09