Defect #3358
closed
Added by Luboš Čábelka over 1 year ago.
Updated over 1 year ago.
Description
I found circular dependencies in recertification module used on project
The dependencies of some of the beans in the application context form a cycle:
recRecertificationManager (field private eu.bcvsolutions.idm.core.api.service.IdmRoleRequestService eu.bcvsolutions.idm.rec.service.impl.DefaultRecertificationManager.roleRequestService)
┌─────┐
| roleRequestService defined in URL [jar:file:/srv/tomcat/apache-tomcat-9.0.46/webapps/idm/WEB-INF/lib/idm-core-impl-13.0.4.jar!/eu/bcvsolutions/idm/core/model/service/impl/DefaultIdmRoleRequestService.class]
↑ ↓
| conceptRoleRequestService defined in URL [jar:file:/srv/tomcat/apache-tomcat-9.0.46/webapps/idm/WEB-INF/lib/idm-core-impl-13.0.4.jar!/eu/bcvsolutions/idm/core/model/service/impl/DefaultIdmConceptRoleRequestService.class]
↑ ↓
| defaultWorkflowProcessInstanceService (field private eu.bcvsolutions.idm.core.api.service.IdmIdentityService eu.bcvsolutions.idm.core.workflow.service.impl.DefaultWorkflowProcessInstanceService.identityService)
↑ ↓
| identityService (field private eu.bcvsolutions.idm.core.api.service.IdmRoleService eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmIdentityService.roleService)
↑ ↓
| roleService (field private eu.bcvsolutions.idm.core.api.service.IdmRoleSystemService eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmRoleService.roleSystemService)
↑ ↓
| defaultSysRoleSystemService (field private eu.bcvsolutions.idm.acc.service.api.SysRoleSystemAttributeService eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemService.roleSystemAttributeService)
↑ ↓
| defaultSysRoleSystemAttributeService (field private eu.bcvsolutions.idm.acc.service.api.SysSystemAttributeMappingService eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemAttributeService.systemAttributeMappingService)
↑ ↓
| defaultSysSystemAttributeMappingService (field private eu.bcvsolutions.idm.acc.service.api.AccAccountService eu.bcvsolutions.idm.acc.service.impl.DefaultSysSystemAttributeMappingService.accountService)
↑ ↓
| accAccountService (field private java.util.List eu.bcvsolutions.idm.acc.service.impl.DefaultAccAccountService.executors)
↑ ↓
| roleSynchronizationExecutor (field private eu.bcvsolutions.idm.core.api.service.IdmRoleRequestService eu.bcvsolutions.idm.acc.service.impl.RoleSynchronizationExecutor.roleRequestService)
└─────┘
- Status changed from In Progress to Needs feedback
- % Done changed from 0 to 100
Another one:
The dependencies of some of the beans in the application context form a cycle:
recRecertificationManager (field private eu.bcvsolutions.idm.core.api.service.IdmConceptRoleRequestManager eu.bcvsolutions.idm.rec.service.impl.DefaultRecertificationManager.conceptRoleRequestManager)
┌─────┐
| conceptManager defined in URL [jar:file:/srv/tomcat/apache-tomcat-9.0.46/webapps/idm/WEB-INF/lib/idm-core-impl-13.0.4.jar!/eu/bcvsolutions/idm/core/model/service/impl/DefaultIdmConceptRoleRequestManager.class]
↑ ↓
| accountConceptRoleService defined in URL [jar:file:/srv/tomcat/apache-tomcat-9.0.46/webapps/idm/WEB-INF/lib/idm-acc-13.0.4.jar!/eu/bcvsolutions/idm/acc/service/impl/DefaultAccAccountConceptRoleRequestService.class]
↑ ↓
| defaultWorkflowProcessInstanceService (field private eu.bcvsolutions.idm.core.api.service.IdmIdentityService eu.bcvsolutions.idm.core.workflow.service.impl.DefaultWorkflowProcessInstanceService.identityService)
↑ ↓
| identityService (field private eu.bcvsolutions.idm.core.api.service.IdmRoleService eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmIdentityService.roleService)
↑ ↓
| roleService (field private eu.bcvsolutions.idm.core.api.service.IdmRoleSystemService eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmRoleService.roleSystemService)
↑ ↓
| defaultSysRoleSystemService (field private eu.bcvsolutions.idm.acc.service.api.SysRoleSystemAttributeService eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemService.roleSystemAttributeService)
↑ ↓
| defaultSysRoleSystemAttributeService (field private eu.bcvsolutions.idm.acc.service.api.SysSystemAttributeMappingService eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemAttributeService.systemAttributeMappingService)
↑ ↓
| defaultSysSystemAttributeMappingService (field private eu.bcvsolutions.idm.acc.service.api.AccAccountService eu.bcvsolutions.idm.acc.service.impl.DefaultSysSystemAttributeMappingService.accountService)
↑ ↓
| accAccountService (field private java.util.List eu.bcvsolutions.idm.acc.service.impl.DefaultAccAccountService.executors)
↑ ↓
| roleSynchronizationExecutor (field private eu.bcvsolutions.idm.core.api.service.IdmRoleRequestService eu.bcvsolutions.idm.acc.service.impl.RoleSynchronizationExecutor.roleRequestService)
↑ ↓
| roleRequestService (field private eu.bcvsolutions.idm.core.api.service.IdmConceptRoleRequestManager eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmRoleRequestService.conceptRoleRequestManager)
└─────┘
- Status changed from Needs feedback to Closed
Also available in: Atom
PDF