Workstation setting cat.copy.defaults reverts to system defaults when using "Add Holdings"

Bug #1818916 reported by Michele Morgan on 2019-03-06
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
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.workstation_setting setting
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_amount":false
"mint_condition":false

- 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_amount":true
"mint_condition":true

Elaine Hardy (ehardy) on 2019-03-07
Changed in evergreen:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers