Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
EPAM BatchLoader Sprint 19, EPAM BatchLoader Sprint 20, EPAM BatchLoader Sprint 21
-
5
-
Folijet
Description
Purpose: To restrict editing of Instance fields controlled by the underlying MARC bib record. These fields should only be editable via:
1) Data Import updating the SRS MARC Bib, which in turn updates the related Instance fields
or
2) MARCcat creating or editing a record, which in turn updates the related SRS MARC bib record, which in turn updates the related Instance fields
As a staff person
I want to be restricted from editing instance fields controlled by underlying Source MARC records
So that the Instance and SRS record stay synchronized and I do not lose the specificity provided by the MARC record
Scenarios
- Scenario 1
- Given the Inventory Instance edit view
- When there is an underlying MARC bibliographic record in SRS (Instance metadata_source = MARC)
- Then restrict the related Instance fields from being edited, by
- Disallowing the cursor from being placed in them or any data being entered
- And greying them out
- Scenario 2
- Given the Inventory Instance edit view
- When there is data in a particular field in an underlying MARC bibliographic record in SRS
- Then display that data in the non-editable, greyed-out Instance field, so that the user knows it's there
- Scenario 3
- Given the Inventory Instance edit view
- When there is a field that is not controlled by the underlying MARC bibliographic record in SRS
- Then allow the user to edit it and save the record, like normal.
- These fields are:
- Administrative data (created by/when, last updated by/when) - system controlled
- Suppress from discovery, Staff suppress, Previously held toggles
- Instance HRID (system controlled)
- Metadata source (system controlled - should be MARC)
- Instance status
- Add statistical code button
- Tags (not yet enabled)
- Scenario 4
- Given the Inventory Instance edit view
- When there is a button related to a field or accordion controlled by an underlying MARC bibliographic record in SRS
- Then do not display the button. [Button is greyed out, rather than hidden. Same for trashcan for deleting data]
- These buttons are:
- Add alternative title
- Add series
- Add identifier
- Add contributor
- Add publication
- Add edition
- Add description
- Add format
- Add language
- Add frequency
- Add range
- Add note
- Add electronic access
- Add subject
- Add classification
- Add parent instance
- Add child instance
- Scenario 5
- Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
NOTE: If questions about Inventory code or PR approvals, check with nielserik
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-1447 Instance record with an underlying MARC record. Block edit of given elements if SRS MARC is linked (Part 2 of Connecting SRS, Inventory, and MARCCat for Bibs/Instances)
-
- Closed
-
- is blocked by
-
MODINV-121 Add configuration with names of blocked fields for Instance editing
-
- Closed
-
- relates to
-
MODINV-133 ACL (field blocks) for Inventory have no sufficient fields on the backend endpoint
-
- Closed
-
-
MODINV-138 Update a list of Instance blocked fields
-
- Closed
-
-
UIIN-650 Disallow Instance's Primary/Make primary contributor buttons when controlled by underlying MARC record
-
- Closed
-