Uploaded image for project: 'ui-oai-pmh'
  1. ui-oai-pmh
  2. UIOAIPMH-18

Validate set uniqueness

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Labels:
    • Template:
    • Sprint:
      Gulfstream Sprint 97
    • Story Points:
      3
    • Development Team:
      Gulfstream

      Description

      Purpose:

      The system should validate set for uniqueness before saving, so that set hierarchy was correct and filtration wasn't broken.

      User story statement:

      As a system administrator,
      I want system to forbid saving non-unique sets
      so that sets hierarchy complies to OAI-PMH protocol and allows proper records filtering

      Scenarios:

      1. Scenario - Set uniqueness validation success

      • Given user creates/edits the set
      • When user tries to save a set
      • And set name is unique within existing sets
      • And result setSpec is unique within existing sets
      • And all other set validation rules are in compliance
      • Then set can be saved

      2. Scenario - Set uniqueness validation error

      • Given user creates/edits the set
      • When user tries to save a set
      • And set isn't unique within existing sets due to duplicating name or result setSpec
      • Then display a message "Set name or setSpec isn't unique. Please, fill in unique set name or setSpec to save set." in call-out
      • And page with all set changes isn't cleared, so that user can correct the name/setSpec and try to save again

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Reporter:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases