jmix icon indicating copy to clipboard operation
jmix copied to clipboard

Dynamic attributes that are of the related entity are not supported in generic filter

Open rusiaikinat opened this issue 1 year ago • 2 comments

Environment

Jmix version: 2.2.999-SNAPSHOT

Bug Description

https://github.com/jmix-framework/jmix/issues/2343#issuecomment-1938108509 if the entities are linked by association, then when adding a filter to the linked entity, the dynamic attribute field is not comboBox

rusiaikinat avatar Feb 12 '24 09:02 rusiaikinat

See io.jmix.dynattrflowui.impl.factory.DynAttrPropertyFilterComponentGenerationStrategy#createComponent. It doesn't support case when context.getProperty() value is path with dot delimiter but not a single attribute name.

fractal3000 avatar Aug 21 '24 11:08 fractal3000

Being suggested solution is to hide dynamic attributes from generic filter if they are not at the first level of the objects' hyerarchy.

fractal3000 avatar Aug 21 '24 13:08 fractal3000