Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-131

totalRecords does not match the number of returned records

    XMLWordPrintable

Details

    • Story
    • Status: Open (View Workflow)
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • Thunderjet/Firebird Back-end Story Template
    • Thunderjet

    Description

      Purpose/Overview:

      When querying GET /voucher-storage/voucher-lines with a limit parameter, if the number of results matching the query is above the limit, the returned totalRecords field will give the number of matching results instead of the number of records returned.

      Either the API documentation forĀ totalRecords is wrong, or the returned value is wrong.

      Edit: totalRecords as the total number of records matching the query is being used here, so it looks like this is an issue with the API documentation.

      Currently and AFAIK this issue is not causing any user-visible problem. It was only found when investigating MODINVOICE-312, but was not the source of that issue.

      Requirements/Scope:

      1. Find which one is wrong
      2. Fix it + look for other similar issues for other API calls

      Approach:

      Acceptance criteria:

      • AC
      • AC

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                damieng Damien Guillaume
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases