Code Fix: Expressions created on a control not evaluating correctly
KB002224
PRODUCT
Issue Description
Having configured an expression on a drop down list control in a View, the expression is not evaluated correctly at runtime.
Cause
The data type of the drop down list control was automatically changed from Text to AutoNumber after editing the view. The actual issue is not related to the expression configured but rather the change of data type for the control.
Resolution
- Ensure you have K2 4.7 installed.
- Download and Install the K2 4.7 November 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 November 2017 Cumulative Update FP13 from Regional Support.
- Install the K2 4.7 November 2017 Cumulative Update FP13 to apply the fix.
- The fix will prevent this from happening for new expressions created on a drop down list control. For existing expressions, you must change the data type of the control in the view back to what it was before editing the view (default is text). TThen edit the expression and replace the drop down list control token in the expression with a new instance of the token, which contains the updated data type changed previously.