Details
Description
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
- The Classification identifier types has following elements
- Scenario
- The list of predefined terms will be
- Additional Dewey
- Canadian Classification
- Dewey
- GDC
- LC
- LC (local)
- National Agricultural Library
- NLM
- SUDOC
- UDC
- The list of predefined terms will be
- 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'
- When click on the 'pen' it's possible to edit the
- 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
- When click on the trash icon it's possible to delete the row:
- 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:
- 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 UIIN-162
TestRail: Results
Attachments
Issue Links
- is blocked by
-
MODINVSTOR-306 Add property 'source' to 'classificationType'
-
- Closed
-
- relates to
-
MODINVSTOR-351 Add missing classification type reference records
-
- Closed
-
-
UXPROD-1890 Instance: Additional controlled vocabularies for Instance menus
-
- Closed
-