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

Disallow editing of Instance fields controlled by underlying MARC record

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM BatchLoader Sprint 19, EPAM BatchLoader Sprint 20, EPAM BatchLoader Sprint 21
    • Story Points:
      5
    • Development Team:
      Folijet

      Description

      Purpose: To restrict editing of Instance fields controlled by the underlying MARC bib record. These fields should only be editable via:
      1) Data Import updating the SRS MARC Bib, which in turn updates the related Instance fields
      or
      2) MARCcat creating or editing a record, which in turn updates the related SRS MARC bib record, which in turn updates the related Instance fields

      As a staff person
      I want to be restricted from editing instance fields controlled by underlying Source MARC records
      So that the Instance and SRS record stay synchronized and I do not lose the specificity provided by the MARC record

      Scenarios

      1. Scenario 1
        • Given the Inventory Instance edit view
        • When there is an underlying MARC bibliographic record in SRS (Instance metadata_source = MARC)
        • Then restrict the related Instance fields from being edited, by
          • Disallowing the cursor from being placed in them or any data being entered
          • And greying them out
      2. Scenario 2
        • Given the Inventory Instance edit view
        • When there is data in a particular field in an underlying MARC bibliographic record in SRS
        • Then display that data in the non-editable, greyed-out Instance field, so that the user knows it's there
      3. Scenario 3
        • Given the Inventory Instance edit view
        • When there is a field that is not controlled by the underlying MARC bibliographic record in SRS
        • Then allow the user to edit it and save the record, like normal.
        • These fields are:
          • Administrative data (created by/when, last updated by/when) - system controlled
          • Suppress from discovery, Staff suppress, Previously held toggles
          • Instance HRID (system controlled)
          • Metadata source (system controlled - should be MARC)
          • Instance status
          • Add statistical code button
          • Tags (not yet enabled)
      4. Scenario 4
        • Given the Inventory Instance edit view
        • When there is a button related to a field or accordion controlled by an underlying MARC bibliographic record in SRS
        • Then do not display the button. [Button is greyed out, rather than hidden. Same for trashcan for deleting data]
        • These buttons are:
          • Add alternative title
          • Add series
          • Add identifier
          • Add contributor
          • Add publication
          • Add edition
          • Add description
          • Add format
          • Add language
          • Add frequency
          • Add range
          • Add note
          • Add electronic access
          • Add subject
          • Add classification
          • Add parent instance
          • Add child instance
      5. Scenario 5
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      NOTE: If questions about Inventory code or PR approvals, check with Niels Erik Gilvad Nielsen

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                taras_tkachenko Taras Tkachenko
                Reporter:
                abreaux Ann-Marie Breaux
                Tester Assignee:
                Ann-Marie Breaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases