Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-499

Deletion of role set as parent role in template generates exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7, 1.2.0-M1
    • 1.1.8, 1.2.0-M1
    • console
    • None
    • Apache Syncope 1.1.7 standalone distribution on Windows 7 64bit and Oracle Java7 SE

    Description

      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)

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            dsigno Denis Signoretto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: