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

JSONB provider is used even if Jackson2 provider should be used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.6.0.Final, 4.0.0.Beta4
    • None
    • jaxrs
    • None

    Description

      JSONB provider is used even if Jackson2 provider should be used

      Conditions in isReadable and isWriteable methods of JsonBindingProvider needs to be updated

      Steps to reproduce:

      1. use WF master
      2. Start Jackson2Test#testFormattedJacksonString against WF master
        • Eg: mvn surefire:test@default-test -Dmaven.test.redirectTestOutputToFile=false -Dtest=Jackson2Test#testFormattedJacksonString
      3. RESTEasy select JsonBindingProvider provider, but RESTEasy should select Jackson2 provider
      4. Test fails
      5. Basically, this condition returns true, but it should return false

      This issue causes many testsuite errors, if TS is run against WF-master

      This issue tends to be 3.6 blocker (cc: rhn-support-asoldano)

      This issue was discussed also in RESTEASY-1714

      Workaround:
      Exclude jsonb in jboss-deployment-structure.xml

      cc: kanovotn

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              mkopecky@redhat.com Marek Kopecky
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: