Bug 21072

Summary: Should not show 'Update patron to adult' if no adult patron categories
Product: Koha Reporter: Nick Clemens <nick>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, kyle.m.hall, martin.renvoize, oleonard
Version: 18.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20226
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Nick Clemens 2018-07-13 12:30:04 UTC
To recreate:
1 - Remove or change all 'Adult' patron categories
2 - Find or create a 'Child' patron whose age is above the category limit
3 - Go to patron details
4 - Click 'Update child to adult patron'
5  - Internal server error
Comment 1 Jonathan Druart 2018-07-17 20:49:29 UTC
I fixed this one on bug 20226, but it will not be backportable.
Comment 2 Martin Renvoize 2018-10-08 10:58:36 UTC
Hmm, what would be your prefered solution here Nick.. to remove the button entirely as it is nonsensical?
Comment 3 Jonathan Druart 2019-05-16 14:37:15 UTC

*** This bug has been marked as a duplicate of bug 20226 ***