Bug 38549

Summary: Make create_superlibrarian.pl script accept a name parameter
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: Command-line UtilitiesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: fridolin.somers, robin
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37368    
Bug Blocks:    

Description Aleisha Amohia 2024-11-29 00:25:42 UTC
As reported in Bug 37368, patron searches break if there are patrons with no firstname AND no surname.

We often use the create_superlibrarian.pl script to create Koha admin users. Sometimes we forget to edit the patron record and add a firstname/surname. That's now causing these errors as seen in Bug 37368.

create_superlibrarian.pl should accept firstname and surname parameters and require at least one of either.
Comment 1 Fridolin Somers 2024-12-19 13:21:46 UTC
When name not provided we may use uppercase userid
My 2c