Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2358

Duplicated ConstraintViolation message

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 4.3.1.Final, 3.9.0.Final
    • 3.10.0.Final, 4.4.2.Final
    • None
    • None
    • Hide
      1. Send an invalid request -> only one violation
      2. Send a valid request -> correct response
      3. Send an invalid request -> violation is duplicated
      4. Send an invalid request -> only one violation

      The attached example project has this included as Testcase.

      Show
      Send an invalid request -> only one violation Send a valid request -> correct response Send an invalid request -> violation is duplicated Send an invalid request -> only one violation The attached example project has this included as Testcase.

    Description

      We currently are upgrading our application from Wildfly 13 to Wildfly 17.0.1 and are receiving duplicated constraint violations in the response of an invalid request.

      Interestingly Wildfly 13 also seems to be not behaving correctly on the third request but in another way. There is the violation exception returned in the response instead of the duplicated value Wildfly 17 is returning now.

      I also tested this on the currently available Wildfly 18 Beta 1 and the issue is also reproducible.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              rschimpf Robin Schimpf (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: