Workstation setting cat.copy.defaults reverts to system defaults when using "Add Holdings"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.2 and later
The workstation setting cat.copy.defaults stores preferences for hidden fields in the copy editor as set in the "Defaults" tab in that editor. When using the "Add Holdings" function from a bib record, the cat.copy.defaults workstation setting reverts to system defaults, losing the preferences for hidden fields for that workstation.
The problem is easier to see by looking in the database than the client. It can be reproduced as follows:
- Open a copy in the copy editor
- Click on the Defaults tab and clear the checkboxes next to some fields to hide them. Examples used here are "Deposit", "Deposit Amount", "Quality"
- Query the database for the workstation setting:
select * from actor.workstati
join actor.workstation wkstn on wkstn.id = setting.workstation
where setting.name = 'cat.copy.defaults'
and wkstn.name = <your workstation>
Note that elements of the value field show:
"deposit":false
"deposit_
"mint_condition
- Retrieve a bib record in the client and click on "Add Holdings"
- After the editor loads, run the same query as above on the database and note that the previously hidden elements now show:
"deposit":true
"deposit_
"mint_condition
Changed in evergreen: | |
status: | New → Confirmed |