Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-654

Some generic and uninformative error messages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.2.4, 2.0.0-M1
    • Component/s: core
    • Labels:
      None

      Description

      Under some circumstances, the error message reported is not very informative; try, for example, to

      1. define a user or role schema with unique flag
      2. create first user (or group) with certain value for such a schema
      3. attempt to create another user (or group) with same value
      4. 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.

        Attachments

          Activity

            People

            • Assignee:
              giacomolm Giacomo Lamonaco
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: