Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-232

Making Instance Records Suppress from Discovery with the Batch Import is not reflected in the SRS

    XMLWordPrintable

Details

    • Folijet Sprint 105, Folijet Sprint 106
    • 2
    • Folijet
    • Q3 2020 Hot Fix #1
    • Lehigh, Simmons, Spokane Public Libraries
    • Legitimate regression

    Description

      Purpose:
      We receive batches of records to which we no longer have access. To handle this, we having been using the Data Import module to change the records to be marked "Suppress from Discovery". While the records show "Suppress from Discovery" in Inventory, the change is not making it to the SRS where it still shows: suppressDiscovery: false. If I manually make the change to a record to make it Suppress from Discovery, then in the SRS I see: suppressDiscovery: true.

      Therefore - we have thousands of records in our public catalog that are not available and should not be showing up.

      Scenarios:

      Steps to recreate manual change to Suppress from Discovery and Results

      1. Locate a record in bugfest-goldenrod.folio.ebsco.com (or other test environments. I tried a few and they all had the same results). For this example, I'm using HRID ak00005286181. It is not marked Suppress from Discovery:
      2. Viewing this in the browser using the Network Developer Tools I see, what I expect: suppressDiscovery: false
      3. Next I edit the Instance for this record and change it to Suppress from Discovery and click Save and Close. Now you can see that change reflected, both in the Instance record and the SRS. This is the expected result.

      When you try the same operation, but use the batch import to do it, the results are different:

      Steps to recreate batch change to Suppress from Discovery and Results

      1. Using the "magic button" I imported the attached file (file1.mrc). This resulted in the following new HRIDS:
        ak00005286189
        ak00005286188
        ak00005286187
        ak00005286190
        ak00005239331

      These are not marked "Suppress from Discovery". Here is a look at the first HRID listed above: ak00005286189. This is as expected:

      1. Next, after changing the 001 field of file1.mrc so they match the HRIDs in https://bugfest-goldenrod.folio.ebsco.com, I import them using a profile I built that should overlay the existing record and mark it "Suppress from Discovery" . The profile name as of the writing of this is "Lehigh-Mark Instance Suppress"
      2. Result: The FOLIO record says, "Suppress from Discovery", but the SRS record still says, suppressDiscovery: false. The expected result is that it will say suppressDiscovery: true
      3. If I manually unmark the "Suppress from Discovery", save the Instance record, then mark it "Suppress from Discovery", this is the result:

      TestRail: Results

        Attachments

          1. 2020-12-16_12-09-05.png
            2020-12-16_12-09-05.png
            34 kB
          2. file1.mrc
            8 kB
          3. file2.mrc
            8 kB
          4. image-2020-12-16-08-03-25-360.png
            image-2020-12-16-08-03-25-360.png
            2 kB
          5. image-2020-12-16-08-03-30-749.png
            image-2020-12-16-08-03-30-749.png
            2 kB
          6. image-2020-12-16-08-13-30-582.png
            image-2020-12-16-08-13-30-582.png
            32 kB
          7. screenshot-1.png
            screenshot-1.png
            216 kB
          8. screenshot-2.png
            screenshot-2.png
            262 kB
          9. screenshot-3.png
            screenshot-3.png
            230 kB
          10. screenshot-4.png
            screenshot-4.png
            222 kB
          11. screenshot-5.png
            screenshot-5.png
            223 kB

          Issue Links

            Activity

              People

                OleksiiKuzminov Oleksii Kuzminov
                lmccoll_lyu Lisa McColl
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases