]
Alessio Soldano resolved WFLY-10781.
------------------------------------
Resolution: Out of Date
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
Labels: jackson
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}