Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.3
-
None
-
None
-
Empty show more show less
-
AuthorX 1, AuthorX 2
-
5
Description
Steps to reproduce
- Call create cart endpoint from magnolia rest api. See postman example ECOMMERCE-480.postman_collection.json
- See log error and rest return 500
.. Logs, screenshots, gifs...
Expected results
Cart should be created successfully
Actual results
See error log:
2021-10-08 09:37:36,173 ERROR info.magnolia.rest.RestExceptionMapper : Exception thrown executing REST endpoint, returning 500 com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.ZonedDateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: io.sphere.sdk.carts.CartImpl["createdAt"])
{ "error": { "code": "unknown", "message": "Java 8 date/time type `java.time.ZonedDateTime` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling (through reference chain: io.sphere.sdk.carts.CartImpl[\"createdAt\"])" } }
Workaround
Development notes
- Upgrade io.sphere.x.sdk
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
ECOMMERCE-470 DEV DOC: Review and test endpoint docs for commercetools
-
- Closed
-