You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/05 15:19:02 UTC

[jira] [Commented] (SYNCOPE-499) Deletion of role set as parent role in template generates exception

    [ https://issues.apache.org/jira/browse/SYNCOPE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018770#comment-14018770 ] 

ASF subversion and git services commented on SYNCOPE-499:
---------------------------------------------------------

Commit 1600646 from [~ilgrosso] in branch 'syncope/branches/1_1_X'
[ https://svn.apache.org/r1600646 ]

[SYNCOPE-499] Added careful checks before using role template's parent, user owner and role owner

> Deletion of role set as parent role in template generates exception
> -------------------------------------------------------------------
>
>                 Key: SYNCOPE-499
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-499
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 1.1.7, 1.2.0
>         Environment: Apache Syncope 1.1.7 standalone distribution on Windows 7 64bit and Oracle Java7 SE
>            Reporter: Denis Signoretto
>            Assignee: Francesco Chicchiriccò
>             Fix For: 1.1.8, 1.2.0
>
>
> 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)