Bug 16082

Summary: Empty patron detail page is displayed if the patron does not exist - circulation.pl
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: CirculationAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: brendan, gmcharlt, julian.maurice, kyle.m.hall, veron
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16029
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 16073, 16240    
Bug Blocks:    
Attachments: Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl
Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl
[PASSED QA] Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl

Description Jonathan Druart 2016-03-16 10:06:01 UTC
On circulation.pl, an empty patron detail page is displayed if the patron does not exist.
A friendly message should be displayed instead.
Comment 1 Jonathan Druart 2016-03-16 10:06:28 UTC
Patches from bug 16073 must be applied before.
Comment 2 Jonathan Druart 2016-03-16 10:11:38 UTC Comment hidden (obsolete)
Comment 3 Marc Véron 2016-03-16 10:41:42 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2016-03-20 16:03:28 UTC
Created attachment 49332 [details] [review]
[PASSED QA] Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl

The major part of pages you can access from a patron detail page (menu)
does not take into consideration the 'patron does not exist' case.
If the borrowernumber is linked to a deleted patron, a friendly message
should be displayed instead of an empty patron detail page.

Test plan:
Go on circ/circulation.pl?borrowernumber=424242
and   circ/circulation.pl?borrowernumber=424242&batch=1
Notice the difference before and after this patch

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Brendan Gallagher 2016-03-21 16:58:54 UTC
Pushed to Master - Should be in the May 2016 Release.  Thanks!
Comment 6 Julian Maurice 2016-04-01 13:13:03 UTC
Patch pushed to 3.22.x, will be in 3.22.6