[ 
https://issues.apache.org/jira/browse/SYNCOPE-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Patricelli updated SYNCOPE-1139:
---------------------------------------
    Description: 
# Login on Syncope as admin
# Go to Configuration -> Audit
# Enable PROPAGATION audit (SUCCESS and FAILURE) on resource (resource-ldap for 
example)
# The go to Realms -> USER
# Edit an existing user (puccini if on embedded environment) or create a new one
# assign to the user a resource on which to do propagation (resource-ldap for 
example)
# Save user and check logs through log viewer (Configuration -> Logs -> Log 
viewer).
# You'll see the error in the attached image.

  was:
# Login on Syncope as admin
# Go to Realms -> USER
# Enable PROPAGATION audit (SUCCESS and FAILURE)
# Edit an existing user (puccini if on embedded environment) or create a new one
# assign to the user a resource on which to do propagation (resource-ldap for 
example)
# Save user and check core.log logs, you'll see a StackOverflowError:
{code}
com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion 
(StackOverflowError) (through reference chain: 
org.apache.openjpa.util.java$util$ArrayList$proxy[0]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAProvision["resource"]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAExternalResource["provisions"]->org.apache.openjpa.util.java$util$ArrayList$proxy[0]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAProvision["resource"]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAExternalResource["provisions"]->org.apache.openjpa.util.java$util$ArrayList$proxy[0]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAProvision["resource"]->org.apache.syncope.core.persistence.jpa.entity.resource.JPAExternalResource["provisions"]-
{code}


> StackOverflowError while serializing AuditEntry after propagation
> -----------------------------------------------------------------
>
>                 Key: SYNCOPE-1139
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1139
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.4
>         Environment: Syncope embedded mode
>            Reporter: Andrea Patricelli
>            Assignee: Andrea Patricelli
>             Fix For: 2.0.5, 2.1.0
>
>         Attachments: screenshot-1.png
>
>
> # Login on Syncope as admin
> # Go to Configuration -> Audit
> # Enable PROPAGATION audit (SUCCESS and FAILURE) on resource (resource-ldap 
> for example)
> # The go to Realms -> USER
> # Edit an existing user (puccini if on embedded environment) or create a new 
> one
> # assign to the user a resource on which to do propagation (resource-ldap for 
> example)
> # Save user and check logs through log viewer (Configuration -> Logs -> Log 
> viewer).
> # You'll see the error in the attached image.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to