Bug 21072 - Should not show 'Update patron to adult' if no adult patron categories
Summary: Should not show 'Update patron to adult' if no adult patron categories
Status: RESOLVED DUPLICATE of bug 20226
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 18.05
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-13 12:30 UTC by Nick Clemens
Modified: 2019-05-16 14:37 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***