Null vs blank in text fields in patron record
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 3.9
We just found out that text fields in patrons, e.g. preferred names, alias, etc., are set to null if you do not touch them when creating a patron record. They are set to blank if you remove an existing value from them.
Blank is treated as a valid value when being displayed in User Display Name column on Holds Shelf and Holds Pull List screens. So staff see a comma displayed in the User Display Name column or blank in User Alias column, when Alias is blank in the patron record. (This is how we found the problem).
We also noticed another issue on Holds Shelf screen.
User Display Name column displays preferred names, if exist. But User Alisa or Display Name column does not display preferred names when there is no alias, but preferred names.
Tina Ji
BC Libraries Coop
tags: | added: needsdiscussion |
On 3.9, I tested adding and removing preferred names and was not able to result in the User Display Name populating with just a comma on either the Holds Shelf or Holds Pull List screens. When I removed an existing value from the preferred name on a patron record, the User Display Name populated with the patron's primary name. I also attempted to add spaces to the preferred name fields as a potential reason they would show as a comma, and the primary name still displayed.
But I did run into the problem on the Holds Shelf where the User Display Name does not populate with the preferred name (when it exists) but with the primary name. And the "User Alias and Display Name" only displays the alias if there is one; if there is a preferred name but not an alias, this column is blank.