You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "fabio martelli (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/02 17:19:58 UTC
[jira] [Resolved] (SYNCOPE-21) Sometimes user create/update/delete
fails
[ https://issues.apache.org/jira/browse/SYNCOPE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fabio martelli resolved SYNCOPE-21.
-----------------------------------
Resolution: Not A Problem
Assignee: fabio martelli
The raised exception has been implied by a content.xml including Activiti information.
This is not a Syncope issue.
Opened Activiti issue at: http://jira.codehaus.org/browse/ACT-1123
> Sometimes user create/update/delete fails
> -----------------------------------------
>
> Key: SYNCOPE-21
> URL: https://issues.apache.org/jira/browse/SYNCOPE-21
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.1-incubating
> Environment: Console in embedded mode.
> Reporter: fabio martelli
> Assignee: fabio martelli
> Priority: Critical
>
> Test case:
> 1. As soon as the console is started create a new user.
> Raised exception is the following.
> 11:48:28.644 ERROR org.syncope.core.rest.controller.AbstractController - Exception thrown by REST methods org.apache.ibatis.exceptions.PersistenceException:
> ### Error updating database. Cause: org.apache.openjpa.lib.jdbc.ReportingSQLException: Unique index or primary key violation: "PRIMARY_KEY_FB0 ON PUBLIC.ACT_HI_ACTINST(ID_)"; SQL statement:
> .......
> at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[activiti-engine-5.8.jar:5.8]
> at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:49) ~[activiti-engine-5.8.jar:5.8]
> at org.syncope.core.workflow.ActivitiUserWorkflowAdapter.create(ActivitiUserWorkflowAdapter.java:218) ~[ActivitiUserWorkflowAdapter.class:na]
> at org.syncope.core.workflow.ActivitiUserWorkflowAdapter.create(ActivitiUserWorkflowAdapter.java:202) ~[ActivitiUserWorkflowAdapter.class:na]
> at org.syncope.core.workflow.AbstractUserWorkflowAdapter.create(AbstractUserWorkflowAdapter.java:48) ~[AbstractUserWorkflowAdapter.class:na]
> .......
> I think that we have to perform two actions in the following order:
> 1. catch the exception in order to return a friendly message in case of this error occurs
> 2. try with the latest version of activity
> In case of the action at the point 2 doesn't resolve the issue we have to replicate the failure and try fix the bug asap.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira