Error in datagrid column filter on cancel operation after initial apply

I am getting different errors in datagrdi column filter like

ClassCastException: class io.jmix.flowuidata.dateinterval.model.RelativeDateInterval cannot be cast to class java.lang.Comparable (io.jmix.flowuidata.dateinterval.model.RelativeDateInterval is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3dd818e8; java.lang.Comparable is in module java.base of loader ‘bootstrap’)

This happens only in operation of particular steps on cancel of filter operation.

  1. take a date column filter.
  2. select “not in” filter and fill data and apply. it applies - ok
  3. select “=” filter and then cancel. - ERROR

regards

Any suggestions please

Hi!

Thank you for your report. I’ve created an issue to fix the bug: DataGrid column filter cannot be cancel · Issue #5050 · jmix-framework/jmix · GitHub

Best regards,
Dmitriy