[ https://issues.apache.org/jira/browse/SYNCOPE-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494166#comment-14494166 ]
ASF GitHub Bot commented on SYNCOPE-654: ---------------------------------------- GitHub user giacomolm opened a pull request: https://github.com/apache/syncope/pull/3 [SYNCOPE-654] JPA error messages and Syncope client exceptions are corre... ...ctly displayed You can merge this pull request into a Git repository by running: $ git pull https://github.com/giacomolm/syncope 1_2_X Alternatively you can review and apply these changes as the patch at: https://github.com/apache/syncope/pull/3.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3 ---- commit c040d9e4e475ed6741aa6575bca0b94acfc5ae88 Author: giacomolm <giacom...@hotmail.it> Date: 2015-04-14T14:33:45Z [SYNCOPE-654] JPA error messages and Syncope client exceptions are correctly displayed ---- > Some generic and uninformative error messages > --------------------------------------------- > > Key: SYNCOPE-654 > URL: https://issues.apache.org/jira/browse/SYNCOPE-654 > Project: Syncope > Issue Type: Bug > Components: core > Affects Versions: 1.2.3 > Reporter: Francesco Chicchiriccò > Assignee: Giacomo Lamonaco > Fix For: 1.2.4, 2.0.0 > > > Under some circumstances, the error message reported is not very informative; > try, for example, to > # define a user or role schema with unique flag > # create first user (or group) with certain value for such a schema > # attempt to create another user (or group) with same value > # error is raised (correctly) but message says "DataIntegrityViolation [The > transaction has been rolled back. See the nested exceptions for details on > the errors that occurred.]" > Besides this specific case, more tests should be added to check at least > every case managed by {{RestServiceExceptionMapper}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)