Project

General

Profile

Actions

Defect #2548

closed

Role with attributes cannot be assigned

Added by Vít Švanda over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
11/02/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Role request contains exception:

Owner type [class eu.bcvsolutions.idm.core.eav.api.dto.IdmFormInstanceDto] has to generalize [BaseEntity]
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultLookupService.getOwnerType(DefaultLookupService.java:248)
    at sun.reflect.GeneratedMethodAccessor1621.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:205)
    at com.sun.proxy.$Proxy259.getOwnerType(Unknown Source)
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.getOwnerType(DefaultEntityEventManager.java:489)
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.toDto(DefaultEntityEventManager.java:1290)
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.process(DefaultEntityEventManager.java:221)
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager$$FastClassBySpringCGLIB$$1694e58f.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
    at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager$$EnhancerBySpringCGLIB$$1d1f1683.process(<generated>)
    at eu.bcvsolutions.idm.core.eav.processor.FormableSaveProcessor.lambda$process$0(FormableSaveProcessor.java:71)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at eu.bcvsolutions.idm.core.eav.processor.FormableSaveProcessor.process(FormableSaveProcessor.java:55)

Related issues

Related to IdStory Identity Manager - Task #1142: Add overview of events to more entitesClosedRadek Tomiška06/15/2018

Actions
Actions #1

Updated by Radek Tomiška over 3 years ago

  • Subject changed from Role with attributes cannot be assigned as automatic role to Role with attributes cannot be assigned
  • Priority changed from Low to Normal
  • Target version changed from 10.7.0 to 10.6.1
Actions #2

Updated by Radek Tomiška over 3 years ago

  • Related to Task #1142: Add overview of events to more entites added
Actions #3

Updated by Radek Tomiška over 3 years ago

  • Category set to Roles
  • Status changed from New to In Progress
  • Assignee set to Radek Tomiška
  • Priority changed from Normal to High
Actions #4

Updated by Radek Tomiška over 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 0 to 90

Broken in #1142 - form instance cannot be saved in entity event queue => is not entity. It is fixed.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/54312dae1232b3f5bb6bca034cf44e96bef51cd5

Could you provide me a feedback, please?

Actions #5

Updated by Vít Švanda over 3 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška

I did review and tested it. Role attributes can be assigned correctly now. LGTM

Actions #6

Updated by Radek Tomiška over 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF