Roundup Tracker - Issues

Issue 2551164

classification
xmlrpc filter by non-existent field returns all issues - should error
Type: behavior Severity: minor
Components: API Versions:
process
Status: new
:
: : rouilj
Priority: normal :

Created on 2021-10-06 19:16 by rouilj, last changed 2021-10-06 19:16 by rouilj.

Messages
msg7346 Author: [hidden] (rouilj) Date: 2021-10-06 19:16
When using the xmlrpc interface with:

   roundup.filter('issue', open_issues, {'issue_type': 2})

it returns all issues if the field 'issue_type' doesn't exist.
Other interfaces roundup_admin for example returns an error:

    Error: issue has no property "issue_type"

Rest return error code 400 and "Field issue_type is not valid for issue class."
History
Date User Action Args
2021-10-06 19:16:57rouiljcreate