Done
Details
Assignee
Niels Erik NielsenNiels Erik NielsenReporter
Charlotte WhittCharlotte WhittTester Assignee
Charlotte WhittCharlotte WhittPriority
P3Sprint
NoneDevelopment Team
ProkopovychParent
Fix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Niels Erik Nielsen
Niels Erik NielsenReporter
Charlotte Whitt
Charlotte WhittTester Assignee
Charlotte Whitt
Charlotte WhittPriority
Sprint
None
Development Team
Prokopovych
Parent
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created March 4, 2019 at 10:55 AM
Updated October 1, 2019 at 11:34 AM
Resolved October 1, 2019 at 11:34 AM
Purpose: In Inventory we use the Classification identifier type element in the Instance record. Right now the solution is implemented as a hard coded list, but the refined solution is to implement a reference table in the Settings app. The Classification identifier type can be e.g. LC, Dewey, and UDC.
FOLIO will provide a predefined list, but all Classification identifier types can be editable (CRUD).
As a cataloger, I want to review and manage the list of Classification identifier types.
Scenarios:
Scenario
Login to FOLIO snapshot stable, and go to Settings
When selecting Inventory > in the menu Instances is displayed in the 2nd pane
then drill down to Instances > Classification identifier types (displayed as a bullet point in the Instance list),
Then the Classification identifier types setting page open (displayed in 3rd pane)
Scenario
When the Classification identifier types setting page is open,
Then the top bar in 3rd pane display: Classification identifier types
Scenario
The Classification identifier types has following elements
Classification identifier types
Source: Which define the source, e.g. folio or local
Last updated: Data from the Metadata component
Scenario
The list of predefined terms will be
Additional Dewey
Canadian Classification
Dewey
GDC
LC
LC (local)
National Agricultural Library
NLM
SUDOC
UDC
Scenario
The Classification identifier types when predefined in FOLIO
Then source will be 'folio'
Scenario
The Classification identifier types can be set as a locally used term
The Classification identifier type is then defined locally by the tenant
The source will then be 'local'
Scenario
When click on the 'pen' it's possible to edit the
Type
The actions buttons now displayed are 'Save' and 'Cancel'
Scenario
When edit of a Classification identifier type is done
Click on 'Save'
Scenario
When navigation away when in the middle of edit of a Classification identifier type
Then the standard modal will show, warning about: There are unsaved changes (e.g. like in the Settings > Formats)
Scenario
When click on the trash icon it's possible to delete the row:
Classification identifier types
Source
Last updated
Scenario
Go to a given Classification identifier type, which is to be deleted
click on 'trash icon'
Then the standard modal will show, warning about:
Headline: Delete Classification identifier types
Text: The Classification identifier types [given term] will be deleted.
Select buttons: 'Cancel' or 'Delete'
The modal will be e.g. like in the Settings > Formats
Scenario
When adding a new type to the list of Classification identifier types, click on the 'New' icon
A new line in the top of the list will be added, which consist of
A text input box for Classification identifier types
When saved, the source will be system generated, and the setting is 'local'
Scenario
When click 'New' button to add a new Classification identifier type
Enter "Dewey" as Classification identifier type (which already exist) as one of the FOLIO predefined Classification identifier types.
Then I get an error message: "The Classification identifier types has to be unique. Please enter a different type."
Notes for developers:
The back end is ready - see:
Reference tables documented: https://github.com/folio-org/mod-inventory-storage/tree/master/reference-data/classification-types
Out of scope for this story will be
a) systematic check against deletion of a Classification identifier types with associated instance records - see