-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/jacksonIssues related to Jackson (JSON library)Issues related to Jackson (JSON library)kind/bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
3.15.1 works but in 3.16.1 our tests fail when enable-reflection-free-serializers enabled
.
What happens is it populates null String values with the string "null
" instead of leaving it null.
It seems to work fine when running and just happens in tests. It also does not seem to happen in every test because similar tests do no exhibit the issue.
Expected behavior
Null values are left null and not populated with a string "null"
Actual behavior
String values at least are populated with "null" (as a string) instead of being left null
How to Reproduce?
- Run
mvn install -DskipTest
- Set a breakpoint on the "resource" method
hello
- Debug using the test case - the "request" will have null string values populated with "null"
- Set quarkus.rest.jackson.optimization.enable-reflection-free-serializers=false
- Repeat steps 2 & 3 above
- The body is correct
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
3.16.1
Build tool (ie. output of mvnw --version
or gradlew --version
)
Maven
Additional information
No response
Metadata
Metadata
Assignees
Labels
area/jacksonIssues related to Jackson (JSON library)Issues related to Jackson (JSON library)kind/bugSomething isn't workingSomething isn't working