Actions
Defect #1597
closedAttribute mapping without defined script can be modified or deleted
Start date:
04/08/2019
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
While is defined new attribute with merge strategy (role mapping), this attribute can't be deleted or modified.
Now exists only one workaround deleted this record by database.
Exception:
java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null at org.springframework.util.Assert.notNull(Assert.java:115) at org.springframework.util.Assert.notNull(Assert.java:126) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysAttributeControlledValueService.addHistoricValue(DefaultSysAttributeControlledValueService.java:123) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysAttributeControlledValueService$$FastClassBySpringCGLIB$$a7beb621.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysAttributeControlledValueService$$EnhancerBySpringCGLIB$$ea16396f.addHistoricValue(<generated>) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemAttributeService.delete(DefaultSysRoleSystemAttributeService.java:239) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemAttributeService.delete(DefaultSysRoleSystemAttributeService.java:79) at eu.bcvsolutions.idm.acc.service.impl.DefaultSysRoleSystemAttributeService$$FastClassBySpringCGLIB$$7abae34b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
Affected version: 9.5.0, 9.5.1 and lower probably
Actions