You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Describe the bug
Even when the ALLOW_COERCION_OF_SCALARS feature is explicitly disabled and CoercionAction.Fail is set for integer values to java.util.Date, the system does not throw an error during the deserialization process when an integer is being converted into a java.util.Date.
Version Information
2.18.2
Reproduction
You can find a minimal example to reproduce this issue in the following repository
Expected behavior
When an integer is provided as input, the conversion to java.util.Date should fail and throw a MismatchedInputException or a similar exception.
Additional context
I might be missing something in my setup, or maybe there's a better way to configure this. If you have any tips or ideas on how to make this work the way I expect, I'd really appreciate it!
The text was updated successfully, but these errors were encountered:
Search before asking
Describe the bug
Even when the ALLOW_COERCION_OF_SCALARS feature is explicitly disabled and CoercionAction.Fail is set for integer values to java.util.Date, the system does not throw an error during the deserialization process when an integer is being converted into a java.util.Date.
Version Information
2.18.2
Reproduction
You can find a minimal example to reproduce this issue in the following repository
Expected behavior
When an integer is provided as input, the conversion to java.util.Date should fail and throw a MismatchedInputException or a similar exception.
Additional context
I might be missing something in my setup, or maybe there's a better way to configure this. If you have any tips or ideas on how to make this work the way I expect, I'd really appreciate it!
The text was updated successfully, but these errors were encountered: