[jboss-jira] [JBoss JIRA] (WFLY-10781) Jackson Annotations are broken

Mario-Luca Hoffmann (JIRA) issues at jboss.org
Thu Aug 2 05:55:00 EDT 2018


Mario-Luca Hoffmann created WFLY-10781:
------------------------------------------

             Summary: Jackson Annotations are broken
                 Key: WFLY-10781
                 URL: https://issues.jboss.org/browse/WFLY-10781
             Project: WildFly
          Issue Type: Bug
          Components: REST
    Affects Versions: 13.0.0.Final
         Environment: Windows 10 x64, WildFly 12 & 13
            Reporter: Mario-Luca Hoffmann
            Assignee: Alessio Soldano


With the switch from WildFly 12 to 13 our Jackson Annotations stopped working properly. While some of these are working (@JsonProperty) sometimes, others (@JsonIgnore) aren't working anymore. With WildFly 12 everything is fine, this issue only arises using WildFly 13 using a EE8 profile. 

However, I tried it with a pristine WildFly 13: not working, WildFly 12: works like a charme. I tried to fix it with replacing the jackson-databind library with the newest version (2.9.6) but this didn't work as well.

Example for the attached Github Project:
The expected output is: {"name":"Mario","attribute":"notWorking"}
The acutal output is: {"attribute":"notWorking","name":"Mario","number":-1337}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list