Project

General

Profile

Actions

Task #2282

closed

Filter: Throw exception, when no registered filter is found

Added by Radek Tomiška almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Filters
Target version:
Start date:
05/29/2020
Due date:
% Done:

100%

Estimated time:
Owner:

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

Related to IdStory Identity Manager - Defect #2385: Audit of role requests - cannot filter by date, approvers are not displayedClosedRadek Tomiška07/13/2020

Actions
Actions #1

Updated by Radek Tomiška almost 4 years ago

  • Status changed from New to In Progress
Actions #2

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
Actions #3

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

Actions #4

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 :-) ).

Actions #6

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Resolved to Closed
Actions #7

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
Actions

Also available in: Atom PDF