View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0021595||mantisbt||filters||public||2016-08-09 12:15||2017-08-29 23:54|
|Summary||0021595: When a filter generates a bad query, reset the filter|
When a user hits an error in filter api that generates an invalid query they are stuck and can't access View Issues page anymore since active filter always gets applied causing the php error similar to 0021592
Ideally, we should reset the filter when the query fails, allowing them to continue to work, rather than get blocked.
The workaround for now is for the user to visit the following page (replace dots with MantisBT url):
However, the above is not discoverable to the user.
Maybe a candidate to be included in https://github.com/mantisbt/mantisbt/pull/783?
in that PR there is a big sanitization of filter related code, which probably sets an easier starting point to fix this issue
This can be tricky to be safe against a bad formed query.
Maybe my suggestion in 0021661 is also applicable here.