Cuba platform version - 7.1.6
I have an enum ‘CastCategory’ whose values are defined as -
In entity named ‘Patient’, I have defined a field ‘patientCast’ of type this enum ‘CastCategory’.
In Patient Browser screen, I am trying to filter out records by putting filter on this enum type field.
After selecting the value from dropdown and pressing Search button, Illegal Argument Exception is thrown stating that -
“You have attempted to set a value of type class java.lang.String for parameter filter_patientCast42250 with expected type of class com.enums.CastCategory”
How can I apply filter on a field of enum type?