Defect #2385
closed
Audit of role requests - cannot filter by date, approvers are not displayed
Added by Alena Peterová over 4 years ago.
Updated over 4 years ago.
Description
Version 10.4.1
Audit -> Requests for roles
When filter by Date is selected, the page returns an error "Filter for attribute [face] not found."
Also, the column "Can solve" is always empty in this table, even if there are approvers of the task (which is visible on the task detail). There are 2 places:
Dashboard of the logged user:
Audit of Role requests:
Files
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version set to 10.5.0
- Status changed from New to In Progress
Exception withing filtering by date component is caused by face property (TODAY for example) sending to BE. For this property doesn't exist filter and filter checker throw exception.
I will remove face property form filter query (is not uses now).
But better solutions for you now is turn off this filter checker:
idm.sec.core.filter.check.supported.enabled=false
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/64066728077cef932aa2fbce804fa91cb789e501
Second problem with empty column "Can solve":
It works for me, solvers are shown. But I maybe know where is you problem. I think your request isn't approve by main WF process, but by some subprocess. By default, the column on request table shown approvers for main process only. Approvers are show on the request detail, because extra feature for show all approvers includes subprocess too was implemented here. Reason why, aren't all approvers show in table too, is performance (query can be very expensive here). I know, this is confused for user (I spent long time with debuging it today too).
- Assignee changed from Alena Peterová to Vít Švanda
You are right, this was a subprocess for a role with criticality 2. There were no other types of requests in this project.
I understand it's for performance reasons and it can't solved for now.
Maybe you could add some additional info to the column header? So nobody else will lose their time trying to understand, why it's empty, as we did? :-) My main concern is the dashboard, which is the place where I noticed it first when I was logged as a common user.
Alena Peterová wrote:
Maybe you could add some additional info to the column header? So nobody else will lose their time trying to understand, why it's empty, as we did? :-) My main concern is the dashboard, which is the place where I noticed it first when I was logged as a common user.
Or put there clickable "..." and after clicking, it will load the approvers from the subprocesses for the specific request, as it is on the task request detail. That would be nice :-)
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 0 to 90
- Assignee changed from Radek Tomiška to Vít Švanda
- Affected versions 10.4.0, 10.4.1 added
- Related to Task #2282: Filter: Throw exception, when no registered filter is found added
- Status changed from Needs feedback to Closed
- Assignee changed from Vít Švanda to Radek Tomiška
I did review and tested it. Thanks for this fix.
Also available in: Atom
PDF