Closed oaklandcorp-jkaiser closed 3 months ago
/cc @geoand (jackson), @gsmet (jackson)
Thanks for the report! I marked https://github.com/quarkusio/quarkus/pull/40584 for backport to 3.8.
Will close this issue and will post here if we decide against it in the end (I don't see any reason why we shouldn't backport it but we will discuss it with the backport team when we prepare the next 3.8).
Describe the bug
After trying to make the leap from Quarkus
3.2
to3.8
I noticed an expected crash in automated tests around Jackson deserialization of the value.2
into a BigDecimal field. I believe this issue was tracked and resolved upstream with details found here.It looks like the
jackson-databind
patch2.17.1
with the fix was already included in Quarkus3.11.1
. I did upgrade to3.11.1
and found the issue solved. Any chance you'd consider bringing this fix into the latest LTS branch3.8
as well?Expected behavior
A contract with field set correctly.
Actual behavior
How to Reproduce?
See linked issue for a better example. Here is a minimalistic example.
Example contract
Example input
Output of
uname -a
orver
Linux dev 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.6" 2023-01-17 LTS OpenJDK Runtime Environment Corretto-17.0.6.10.1 (build 17.0.6+10-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.6.10.1 (build 17.0.6+10-LTS, mixed mode, sharing)
Quarkus version or git rev
3.8.5
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.8.6
Additional information
Placing this in the project's
pom.xml
seems to workaround the bug while staying on the Quarkus3.2
track.