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

Some generic and uninformative error messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.4, 2.0.0-M1
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: