Project

General

Profile

Actions

Task #1308

open

Improve the message about removing already removed automatic role by LRT

Added by Vladimír Kotýnek about 6 years ago. Updated about 6 years ago.

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 #1

Updated by Radek Tomiška about 6 years ago

  • Tracker changed from Defect to Task
  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #2

Updated by Radek Tomiška about 6 years ago

  • Subject changed from Removing automatic roles LRT ends up with an error to Improve the message about removing already removed automatic role by LRT
Actions

Also available in: Atom PDF