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

    • Folijet Sprint 123
    • 0
    • Folijet
    • 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

                Aivar Iusupov Aivar Iusupov
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases