[ https://issues.apache.org/jira/browse/SYNCOPE-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495883#comment-14495883 ]
ASF subversion and git services commented on SYNCOPE-654: --------------------------------------------------------- Commit 6a343e959303cf9bd1a5121fb7ee85205751309c in syncope's branch refs/heads/master from giacomolm [ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=6a343e9 ] [SYNCOPE-654] Extra test on ExceptionMapper > 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)