Replies: 10 comments 13 replies
-
@gsviteri Could you also provide a minimal testcase to reproduce the issue? My version doesn't seem to work. |
Beta Was this translation helpful? Give feedback.
-
Edited: adding the json that comes from MongoDB |
Beta Was this translation helpful? Give feedback.
-
Thanks @JooHyukKim. Same error using snapshot version. My test is MockMVC using embedded Mongo. The full test scenario is going to be hard to publish. I will see if I can isolate. ANy more help will be appreciated ! |
Beta Was this translation helpful? Give feedback.
-
Instead of discussion this probably would have made sense as an issue. But that's fine. Just one quick question to make sure I understand this:
If so, yes, that's a bug and hopefully easy enough to test. |
Beta Was this translation helpful? Give feedback.
-
Might be something fiddly before Mongo tries to decode it Here are all the classes from the moment i |
Beta Was this translation helpful? Give feedback.
-
From the screenshot, I highlighted the decode statement and the following statement is |
Beta Was this translation helpful? Give feedback.
-
just updated the original post with the previous version we were using |
Beta Was this translation helpful? Give feedback.
-
Sound good. Will give the guys a poke and perhaps update here as well once I hear from them. |
Beta Was this translation helpful? Give feedback.
-
@gsviteri @cowtowncoder FYI: I opened a PR for mongojack that fixes the issue. https://github.com/mongojack/mongojack/pull/241/files#diff-f14e52179b3d88fba38d6828d8fa3f6210c5bc1d41dc27937402e720b5846b52 I had to add a custom implementation for |
Beta Was this translation helpful? Give feedback.
-
Hi All,
After upgrading from
2.11.3
to2.15.0
, we are now having issues on the deserialisation where double values are deliberately marshalled as empty string.Few areas that we already covered:
[Source: (String); byte offset: #UNKNOWN]
(version that works is[Source: (String)"type"; line: -1, column: -1]
)VALUE_NUMBER_FLOAT
MapperFeature.ALLOW_COERCION_OF_SCALARS
, same error I'm afraidobjectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL)
, no difference at allError Log
.ContinuousMultiSessionMetric class is a subtype of MultiSessionMetric. Here's how they are declared
So, this is how data are displayed when using Jackson:2.10.0

... And this is how it is displayed after upgrading

Any help will be massively appreciate here.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions