Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-446

The single Instance fetch retrieves at most 10 parent/child Instances

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Done
    • None
    • 17.0.3, 18.0.0
    • None
    • Thor
    • R2 2021 Bugfix

    Description

      Overview:

      1. Log into FOLIO Snapshot as user Diku_Admin
      2. Go to inventory, any instance, in edit mode
      3. Add 11 instance relationships (child, with the relation type: monographic serie)
      4. Save and close the instance

      Expected Results:
      When viewing the instance in detailed view the accordion Instance relationship (analytics and bound-with) will display as unfolded, and I see my 11 related instances both in edit and detailed view

      Actual Results:
      When viewing the instance in detailed view the accordion Instance relationship (analytics and bound-with) display as folded. When unfold the accordion I only see 10 related instances in the detailed view

      Additional Information:

      All 11 related instances will actually be present in the Instance in question in the Instance result set. This is because the logic for retrieving parent/children for many Instances (a result set) in an optimized way, sets the limit to the maximum allowed. It's only the logic for retrieving an individual Instance – which is used for for the Instance details view – that fails to set the limit and thus gets the default 10. 
      URL:
      Interested parties: fhemme

      TestRail: Results

        Attachments

          1. Screenshot from 2021-07-02 20-27-43.png
            166 kB
            Niels Erik Gilvad Nielsen
          2. Skærmbillede 2021-08-09 kl. 13.45.06.png
            429 kB
            Charlotte Whitt
          3. Skærmbillede 2021-08-09 kl. 13.45.33.png
            356 kB
            Charlotte Whitt
          4. Skärmavbild 2021-07-19 kl. 14.45.50.png
            284 kB
            Charlotte Whitt

          Issue Links

            Activity

              People

                nielserik Niels Erik Gilvad Nielsen
                nielserik Niels Erik Gilvad Nielsen
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases