Vote #81457
完了Gracefully handle invalid operators and associations requested in queries
0%
説明
Users can request arbitrary operators or custom field associations for fields in queries for issues or time entries. This is validated in the @Query@ class with an exception being raised if an invalid operator or custom field association was requested.
The attached patch handles this case by raising a named Error instead and gracefully handling this error in the UI by logging the original exception and rendering a 404 error.
journals
--------------------------------------------------------------------------------
This patch probably masks the underlying issue in #35062 (by rendering a 404 instead of a 500 there). The root cause of this issue should probably still be checked.
--------------------------------------------------------------------------------
Setting the target version to 5.0.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Confirmed,35062,Back URLs with <t+ operator break
relates,Closed,35500,Add missing fixture to IssuesTest