Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-505

Settings page. Inventory > Instances > Classification identifier types



    • Core: F - Sprint 67, Core: F - Sprint 72, Core: F - Sprint 73
    • Prokopovych


      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.


      1. 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)
      2. Scenario
        • When the Classification identifier types setting page is open,
        • Then the top bar in 3rd pane display: Classification identifier types
      3. 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
      4. Scenario
        • The list of predefined terms will be
          • Additional Dewey
          • Canadian Classification
          • Dewey
          • GDC
          • LC
          • LC (local)
          • National Agricultural Library
          • NLM
          • SUDOC
          • UDC
      5. Scenario
        • The Classification identifier types when predefined in FOLIO
        • Then source will be 'folio'
      6. 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'
      7. Scenario
        • When click on the 'pen' it's possible to edit the
          • Type
          • The actions buttons now displayed are 'Save' and 'Cancel'
      8. Scenario
        • When edit of a Classification identifier type is done
        • Click on 'Save'
      9. 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)
      10. Scenario
        • When click on the trash icon it's possible to delete the row:
          • Classification identifier types
          • Source
          • Last updated
      11. 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
      12. 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'
      13. 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:

      1. The back end is ready - see:
      1. 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


          1. Screenshot from 2019-06-30 09-58-39.png
            296 kB
            Charlotte Whitt
          2. Skärmavbild 2019-07-03 kl. 17.14.22.png
            108 kB
            Charlotte Whitt
          3. Skärmavbild 2019-10-01 kl. 13.32.23.png
            116 kB
            Charlotte Whitt

          Issue Links



                nielserik Niels Erik Gilvad Nielsen
                charlotte Charlotte Whitt
                Charlotte Whitt Charlotte Whitt
                0 Vote for this issue
                4 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases