Done
Details
Assignee
Ivan KryzhanovskyiIvan KryzhanovskyiReporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P2Story Points
3Sprint
NoneDevelopment Team
FolijetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Ivan Kryzhanovskyi
Ivan KryzhanovskyiReporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
3
Sprint
None
Development Team
Folijet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created July 1, 2020 at 5:29 AM
Updated October 29, 2020 at 7:04 AM
Resolved July 27, 2020 at 6:43 AM
Purpose: To add a field mapping option that allows a field to be emptied (data removed) by the field mapping profile.
As a staff person working with Field mapping profiles
I want a field mapping option to remove data from a field
So that I can clear out the data from the appropriate record
Use case: remove the temp location or temp loan type
Scenarios
Scenario 1
Given Settings/Data import/Field mapping profile for Inventory Instances, Holdings, or Items
When a user types a field mapping of ###REMOVE### on the Create/Edit screen
Then do not allow any other field mapping in that field (a MARC or default value)
And when the import is carried out, remove the value from the mapped field, so that the field in the record is empty.
For example, if the field mapping for Holdings Temporary location = ###REMOVE###, then when the file is imported, any value in the Temp location of a matched Holdings record should be removed
Scenario 2
Given the Inventory Instance field mapping profile
When a user types the ###REMOVE### field mapping option
Then allow it to be applied to these fields only:
Cataloged date
Scenario 3
Given the Inventory Holdings field mapping profile
When a user types the ###REMOVE### field mapping option
Then allow it to be applied to these fields only:
Holdings type
Temporary location
Shelving order
Shelving title
Copy number
Call number type
Call number prefix
Call number
Call number suffix
Number of items
ILL policy
Digitization policy
Retention policy
Acquisition method
Order format
Receipt status
Scenario 4
Given the Inventory Item field mapping profile
When a user types the ###REMOVE### field mapping option
Then allow it to be applied to these fields only:
Barcode
Accession number
Item identifier
Copy number
Call number type
Call number prefix
Call number
Call number suffix
Number of pieces
Description of pieces
Enumeration
Chronology
Volume
Number of missing pieces
Missing pieces
Item damaged status
Temporary loan type
Permanent location
Temporary location
Scenario 5
Given Settings/Data import/Field mapping profile for Inventory Instances, Holdings, or Items
When a user inputs ###REMOVE### into a field
Then add validation to disallow any other data from being in the field (no MARC field or any value in quotation marks)
Scenario 6
Given Settings/Data import/Field mapping profile for Inventory Instances, Holdings, or Items
When a user Views the details of a field mapping profile with ###REMOVE### in any field
Then display that value as ###REMOVE### on the View details screen, similar to how ###TODAY### displays as a mapping in a date picker field
Scenario 7
Ensure this story passes Accessibility testing
Scenario 8
Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
NOTE: ###REMOVE### is disallowed for any required fields, check boxes, or repeatable fields