Jpql custom editor missing some enum case

Hi,

In Jpql condition editor, list for enumeration not show enum not attach to an entity.
it work for :

  1. enum inside entity (inEntityEnum)
  2. enum inside other entity (in2EntityEnum)
  3. enum inside entity in transient mode

not work if no add into an entity (outsideEnum missing into list)

jmix_filter_enum.zip (374.7 KB)

image

In cuba I use this type of enum to make filter group for some user frendly case.
Clause where can be like
(enum = ‘X’ and …) or (enum= ‘Y’ and …).
i will do a transient to resolve this in dummy entity or an entity.
boring … in keyValueCollection that no real sense…

best regards,

gabriel

Hi Gabriel,

Thanks for the report.
The problem is known and registered in this issue.

1 Like