Task #2282
closedFilter: Throw exception, when no registered filter is found
100%
Description
When wrong filter parameter is used, then filter is ignored and all entities (if no other filter is set) are returned.
Prevent to return entities, when wrong filter parameter is used => throw exception about unrecognised filter is used.
Related issues
Updated by Radek Tomiška almost 4 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška almost 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
Feature is implemented.
Doc:
https://wiki.czechidm.com/devel/documentation/architecture/dev/filters#filters
https://github.com/bcvsolutions/CzechIdMng/blob/develop/CHANGELOG.md#1040
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/65611e0ee4908ce58105dd23801d82bf1ddf886d
Could you provide me a feedback, please?
Updated by Radek Tomiška almost 4 years ago
I improved check for supported filters - filter instance is checked too (filter can be extended outside the service) and check can be turned off (e.g. when wrong filter is used, but update product or module is not possible).
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/14bd60b6d4ce73ff7a15741271e1a4e8e23b7226
Doc:
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/backend#entity_filters
Updated by Vít Švanda almost 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did reivew and test. Works nice. Thanks for option on disable this check. May be could be help to mention enable property directly in documentation. I had trouble with find it on configuratio page (I had to use auditlog :-) ).
Updated by Radek Tomiška almost 4 years ago
Disable check configuration is documented on both pages:
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/backend#entity_filters
https://wiki.czechidm.com/devel/documentation/architecture/dev/filters#filters
Updated by Radek Tomiška almost 4 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška over 3 years ago
- Related to Defect #2385: Audit of role requests - cannot filter by date, approvers are not displayed added