Actions
Task #1308
openImprove the message about removing already removed automatic role by LRT
Status:
New
Priority:
Low
Assignee:
Radek Tomiška
Category:
Automatic roles
Target version:
-
Start date:
10/10/2018
Due date:
% Done:
0%
Estimated time:
Owner:
Description
I've run "remove" on the same authomatic role twice. The first LRT was processed without an error. The second one ended up with an error.
eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Automatic role id is required. at eu.bcvsolutions.idm.core.scheduler.task.impl.RemoveAutomaticRoleTaskExecutor.getAutomaticRole(RemoveAutomaticRoleTaskExecutor.java:300) at eu.bcvsolutions.idm.core.scheduler.task.impl.RemoveAutomaticRoleTaskExecutor.start(RemoveAutomaticRoleTaskExecutor.java:135) at eu.bcvsolutions.idm.core.scheduler.api.service.AbstractLongRunningTaskExecutor.call(AbstractLongRunningTaskExecutor.java:186) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:80) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
There should be some more informative error message. An administrator who's not a programmer won't khow what happened.
Actions