Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Jan Zyka opened DATAREST-1214 and commented
Having entity with java.sql.Timestamp field annotated with @JsonFormat.
When creating new one using POST the custom format is recognised and used.
When doing partial update using PATCH, Content-type: application/json-patch+json the update fails with:
PATCH, Content-type: application/json-patch+json
"message":"Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]"}
When parsing the value update falls back to Timestamp.valueOf(...) and ignores the @JsonFormat
Affects: 2.6.10 (Ingalls SR10), 3.0.5 (Kay SR5)
Reference URL: https://github.com/janzyka/spring-json-patch
The text was updated successfully, but these errors were encountered:
No branches or pull requests