LocalDate as query parameter

Hi,
In one of our applications when we run
“public List registryInProgress(Employee employee, LocalDate date) {
return dataManager.load(ControlHorari.class)
.condition(
LogicalCondition.and(
PropertyCondition.equal(“c_empleat”, employee),
PropertyCondition.equal(“t_day”, date)
)
)
.list();”
we get the error
“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”

We have included in build.gradle implementation ‘com.fasterxml.jackson.datatype:jackson-datatype-jsr310’ but with the same result.

Thanks,

Hi,

What Jmix version you’re using?

Regards,
Gleb

Hi,
Jmix version 2.5 Premium
Thanks,

I’ve tried PropertyCondition with a LocalDate value and it works without any errors. Could you please attach a demo project that reproduces the issue?