CMDBuild Forum

Issue with Java 8 date/time type `java.time.LocalDate`

Hi!
When querying the history of a record in any of the created classes, we received the error below:

"message": "com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDate` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling (through reference chain: org.cmdbuild.utils.lang.CmMapUtils$FluentMapImpl[\"data\"]->org.cmdbuild.utils.lang.CmMapUtils$FluentMapImpl[\"_updated_previous\"])"

image

This error avoid the visualization of the changes made to the registry.

How, and where, could we adjust it?

I have the same issue with CMDBuild 3.4
In a class I have a field with type DATE.

When changing this field in the web UI, the history shows right.
But as soon as I change this field via the api, I get the same error when looking in the history of the record. On the card itself the date is displayed properly.