I have come across an error that occurs after switching the operator on a simple filter. This may be related to and caused by the same core problem as the issue discussed here: Saved Parameter Values Cleared Out When Changing Operator - #7 от пользователя iskandarov - CUBA.Platform but is ultimately a different problem.
The issue arises when changing the parameter type from one operator to another and then running the filter. Steps to reproduce in the attached sample project:
- Open the Work Order Browse screen.
- Select the “By District” filter.
- Immediately change the operator type from “Not In” to “In”
- Populate the parameter with a value.
- Run the filter
I am consistently getting this error when performing the above steps:
*Exception Description: Problem compiling [select e from datetimesample_WorkOrder e where districtYGgey.district.id in :component_filter_district66743 order by e.start]. *
[47, 72] The state field path ‘districtYGgey.district.id’ cannot be resolved to a valid type.
[47, 60] The identification variable ‘districtYGgey’ is not defined in the FROM clause.
We are currently running Cuba Version 7.1.3.
DateTimeSample.zip (111.3 KB)