[
https://issues.apache.org/jira/browse/SYNCOPE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528892#comment-13528892
]
Jan Bernhardt commented on SYNCOPE-247:
---------------------------------------
Hi Andrei, after applying your patch, I still get an exception for the same two
Test-Methods (in the second run) as before:
org.springframework.dao.DataIntegrityViolationException
<openjpa-2.2.1-r422266:1396819 fatal store error>
org.apache.openjpa.persistence.EntityExistsException: The transaction has been
rolled back. See the nested exceptions for details on the errors that occurred.
FailedObject: org.apache.syncope.core.persistence.beans.role.RAttr@2483f9de
I think some further investigation is required here. Simply using the full UUID
does not solve this issue here.
> Use complete UUID as role name to avoid problems by test rerun
> --------------------------------------------------------------
>
> Key: SYNCOPE-247
> URL: https://issues.apache.org/jira/browse/SYNCOPE-247
> Project: Syncope
> Issue Type: Sub-task
> Environment: CXF branch
> Reporter: Andrei Shakirin
> Assignee: Jan Bernhardt
> Attachments: AbstractRoleTestITCase.java.patch
>
>
> Actually some of Role integration tests (issue 228, crud) cannot be rerun.
> Reason: only 8 first characters from UUID is used as role name, that causes
> name collisions.
> Patch for the CXF branch is attached.
> Regards,
> Andrei.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira