Denis Signoretto created SYNCOPE-499:
----------------------------------------

             Summary: Deletion of Role used as parent role in role template 
generate exception editing role template
                 Key: SYNCOPE-499
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-499
             Project: Syncope
          Issue Type: Bug
          Components: console
    Affects Versions: 1.1.7
         Environment: Apache Syncope 1.1.7 standalone distribution on Windows 7 
64bit and Oracle Java7 SE
            Reporter: Denis Signoretto


Steps to reproduce:

1) Create a role
2) Create a Synchronization Task and assign the previously created role as 
parent role in the role template
3) Delete previously created role
4) Try edit role template
5) Exception

Grave: Servlet.service() for servlet [syncope-core-rest] in context with path 
[/syncope] threw exception [Request processing failed; nested exception is 
org.apache.syncope.core.persistence.dao.NotFoundException: Role 152] with root 
cause
org.apache.syncope.core.persistence.dao.NotFoundException: Role 152
        at 
org.apache.syncope.core.rest.data.RoleDataBinder.getRoleFromId(RoleDataBinder.java:73)
        at 
org.apache.syncope.core.rest.data.RoleDataBinder$$FastClassBySpringCGLIB$$75f19568.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to