Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-582

Backend: Validation for elements in location hierarchy (campus)

    XMLWordPrintable

Details

    • Story
    • Status: Open (View Workflow)
    • P3
    • Resolution: Unresolved
    • None
    • None
    • 5
    • Prokopovych

    Description

      Purpose: Prevent users from creating names and codes in the location hierarchy that will not be processed correctly by circulation rules. (For example, prevent creation of "Science Reserves" when "Science-Reserves" already exists, since "Science Reserves" and "Science-Reserves" will both be normalized to science-reserves in circulation rules.

      1. Scenario
        • Given an institution with campus A with code <code>
        • When a user attempts to save campus B for the institution, with a code that does not differ from that of Campus A, or differs only by non-alphanumeric characters
        • Then do not allow the user to save
          • Error message: A campus with this code already exists
      2. Scenario
        • Given a campus with a code only consisting of non-alphanumeric characters
        • When a user attempts to save the campus
        • Then do not allow the user to save
          • Error message: Campus names must have at least one alphanumeric character

      Notes

      • Non-alphanumeric characters should still be allowed (e.g., they may be part of a library's official name)
      • Prevent creation of "Science-Reserves" when "Science Reserves" already exists

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases