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

/source-storage/records?limit=0 returns "totalRecords": 0

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Folijet Sprint 123
    • Story Points:
      0
    • Development Team:
      Folijet
    • Release:
      R3 2021

      Description

      How to reproduce:

      Call

      /source-storage/records?limit=0
      

      at

      when there are source storage records.

      Actual result:

      {
        "records" : [ ],
        "totalRecords" : 0
      }
      

      The totalRecords number is wrong.

      Expected result:

      {
        "records" : [ ],
        "totalRecords" : 71
      }
      

      The totalRecords number must be > 0.

      Additional information:

      When using limit=1 or any higher limit the totalRecords number is correct (71 for snapshot, 62 for testing, 7885956 for bugfest-iris).

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Aivar Iusupov Aivar Iusupov
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases