Task #3424
closed
Change UID during process virtual system request failing
Added by Ondřej Kopr over 1 year ago.
Updated about 1 year ago.
Assignee:
Michal Steinhart
Description
Requests after changing UID for virtual system failing for opened request that will be processed after the UID change.
Goal of the ticket is create behavior that allows solve requests after UID change.
- Status changed from New to In Progress
- % Done changed from 0 to 10
A probable solution will be create new processor with checking open requests and change UID for all these requests.
Warning message for future search:
2023-08-09 16:11:47.449 WARN 214309 --- [http-nio-8080-exec-7] eu.bcvsolutions.idm.core.exception.ExceptionControllerAdvice.log : [vs:VS_REQUEST_UPDATING_ACCOUNT_NOT_EXIST:722ae55f-479a-4b01-91dc-c03e6044a821] Virtual system account with UID [one] was not found. You have to relized 'create' request first! ({uid=one})
eu.bcvsolutions.idm.vs.exception.VsException: Virtual system account with UID [one] was not found. You have to relized 'create' request first!
at eu.bcvsolutions.idm.vs.service.impl.DefaultVsRequestService.internalExecute(DefaultVsRequestService.java:355)
at eu.bcvsolutions.idm.vs.service.impl.DefaultVsRequestService.realize(DefaultVsRequestService.java:171)
at eu.bcvsolutions.idm.vs.service.impl.DefaultVsRequestService$$FastClassBySpringCGLIB$$21439a19.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Michal Steinhart
- % Done changed from 10 to 90
- Owner changed from Ondřej Kopr to Peter Štrunc
Finally tested.
The new behaviour works well.
The change of username(UID) creates new request for VS administrator after resolving this request can be resolved the origin request with also.
Works even though if a username (UID) is changed more than once.
It is ready to merge, please.
- Status changed from Needs feedback to Closed
- % Done changed from 90 to 100
Also available in: Atom
PDF