Uploaded image for project: 'mod-quick-marc'
  1. mod-quick-marc
  2. MODQM-47

Bug with subfield and spaces when editing in quickMARC



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.2
    • Labels:
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Firebird Sprint 101
    • Story Points:
    • Development Team:
    • Release:
      Q3 2020 Bug Fix
    • Affected Institution:
      5 Colleges, Simmons


      Overview: When adding or editing a subfield in quickMARC, there's inconsistent behavior with spaces

      Steps to Reproduce:

      1. Log into FOLIO-snapshot-load as diku_admin
      2. Make sure that there are some MARC records in Inventory
      3. Select one of the Instances with Source = MARC and go to Admin/Edit in quickMARC
      4. Test 1
        • Find an existing field with multiple subfields (for example 264) and edit the subfield to remove the space between the subfield letter/number and the data in the subfield (for example, change 264....., $c 2019. to 264...., $c2019)
        • Save the record and view the publisher info in the Instance
      5. Test 2
        • Edit in quickMARC again. Go back to that existing field, and put the space in after the subfield letter/number, and then remove the space before the subfield mark (for example, change 264....., $c 2019. to 264....,$c 2019)
        • Save the record and view the publisher info in the Instance
      6. Test 3
        • Edit in quickMARC again. Add 2 new fields to the record:
          • 500 [no indicators] $aTest note [no space after $a]
          • 500 [no indicators] $a Test note [with a space after $a]
          • Save the record and view the notes in the Instance

      Expected Results: Regardless of whether the user includes a space before or after the subfield mark and the subfield alphanumeric, quickMARC should recognize the subfield marker and alphanumeric, and save them back to SRS accurately.

      Actual Results: If there is no space when a subfield is edited, the subfield mark and alphanumeric sometimes displays as part of the data. If a new subfield is added with no space after the subfield alphanumeric, the first letter of the actual data is replaced with a space.

      Additional Information: See attached video

        TestRail: Results


          1. new notes.png
            new notes.png
            1024 kB
          2. no spaces.png
            no spaces.png
            839 kB
          3. saved no spaces.png
            saved no spaces.png
            858 kB
          4. source with new notes.png
            source with new notes.png
            916 kB
          5. UIQM-56.mp4
            6.88 MB

            Issue Links



                stephaniesbuck Stephanie Buck
                abreaux Ann-Marie Breaux
                0 Vote for this issue
                5 Start watching this issue



                    TestRail: Runs

                      TestRail: Cases