Uploaded image for project: 'cql2pgjson'
  1. cql2pgjson
  2. CQLPG-2

Invalid sort-specifications are silently ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • Core: Platform

    Description

      As noted in UIU-101, it seems that when submitting a query such as

      active="true" sortby noSuchField personal.lastName personal.firstName

      to mod-users, the resulting list of users is sorted by name (in lastname, firstname order) with the invalid noSuchField key being completely ignored.

      Instead, the query translator should adhere to the FEFO principle (Fail Early, Fail Often), and reject the query with an explicit error message along the lines of "unrecognised sort-key 'noSuchField'".

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                frances.webb Frances Webb
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases