Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-919

Delete by CQL rejects missing or empty CQL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 33.2.10, 34.0.0
    • None
    • CP: sprint 140
    • 1
    • Core: Platform
    • TBD

    Description

      Overview:

      As a sysop or librarian using the DELETE by CQL API I might accidentally omit the query parameter or mistype it: quer=username==foo

      How to reprocude:
      Call PgUtil.delete by CQL with CQL query parameter that is null (= missing), empty or whitespace only.

      Expected Results:
      PgUtil.delete by CQL rejects the API call with a 400 HTTP status code and doesn't delete anything.

      Actual Results:
      PgUtil.delete deletes all records.

      Additional Information:
      This bug has already caused severe issues: MODINVSTOR-901

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases