Uploaded image for project: 'mod-patron'
  1. mod-patron
  2. MODPATRON-100

Inconsistent handling of invalid limit parameter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • 4.5.3
    • 5.1.0
    • None
    • Other dev

    Description

      Overview

      When limit is specified, but less than zero, we should return an error, not all records.

      Reproducer

      Specify limit < 0

      Expected

      An error is returned indicating that the value specified for limit was invalid, much like if a non-numeric value was provided, or no value was provided at all.

      Actual

      All records are returned, consistent with the behavior if limit was not provided.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                vitalii_zahoruiko Vitalii Zahoruiko
                cmcnally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases