Invalid sort-specifications are silently ignored

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'".

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor July 26, 2017 at 12:31 PM

Agreed, there is no particular urgency about this.

frances.webb@cornell.edu July 26, 2017 at 12:23 PM

I can take the issue. I'll be out of the office Thursday through Monday, but this doesn't look like a blocking problem.

Mike Taylor July 26, 2017 at 10:19 AM

, would this be one for you?

Details

Assignee

Reporter

Priority

Development Team

Core: Platform

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 26, 2017 at 10:18 AM
Updated March 27, 2019 at 7:46 PM
TestRail: Cases
TestRail: Runs

Flag notifications