Actions
Defect #3091
openFilter of recertification requests fails for selected date
Status:
Needs feedback
Priority:
High
Assignee:
Tomáš Doischer
Target version:
-
Start date:
03/28/2022
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
When I filter recertification request and select "Last month" or "Between" two dates or any other filter by date, I get the same results as if I didn't select any date filter.
In catalina.out log is following error message:
2022-03-28 10:51:16.429 ERROR 4551278364 --- [http-nio-127.0.0.1-8080-exec-10] e.b.i.c.m.r.f.DefaultFilterManager.log : [core:FILTER_PROPERTY_NOT_SUPPORTED:25a4348e-f68b-43a8-94d3-3ffd46aae5d0] Filter for property [till] for entity [RecRecertificationRequest] is not supported and cannot be used. ({propertyName=till, entityClass=RecRecertificationRequest}) eu.bcvsolutions.idm.core.api.exception.FilterNotSupportedException: Filter for property [till] for entity [RecRecertificationRequest] is not supported and cannot be used. at eu.bcvsolutions.idm.core.model.repository.filter.DefaultFilterManager.toPredicates(DefaultFilterManager.java:128) at eu.bcvsolutions.idm.core.api.service.AbstractReadDtoService.toPredicates(AbstractReadDtoService.java:349) at eu.bcvsolutions.idm.rec.service.impl.DefaultRecRecertificationRequestService.toPredicates(DefaultRecRecertificationRequestService.java:57) at eu.bcvsolutions.idm.rec.service.impl.DefaultRecRecertificationRequestService.toPredicates(DefaultRecRecertificationRequestService.java:37) at eu.bcvsolutions.idm.core.api.service.AbstractReadDtoService$1.toPredicate(AbstractReadDtoService.java:449) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.applySpecificationToCriteria(SimpleJpaRepository.java:740) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.getQuery(SimpleJpaRepository.java:671) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.getQuery(SimpleJpaRepository.java:629) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findAll(SimpleJpaRepository.java:428) at jdk.internal.reflect.GeneratedMethodAccessor341.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Expected behavior is that the filter returns recertification request created on dates that fit the filter.
Actions