Bug 38549 - Make create_superlibrarian.pl script accept a name parameter
Summary: Make create_superlibrarian.pl script accept a name parameter
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 37368
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-29 00:25 UTC by Aleisha Amohia
Modified: 2024-12-19 13:21 UTC (History)
2 users (show)

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


Attachments

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