You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the v3 --> v4 upgrade instructions and all mvel yaml file rules compile and most run fine. However, a few are throwing errors in the actions when attempting to access variables (seems the ctx is null and the variable can't be accessed).
Is there another step in the version upgrade? Most of our variables are Optionals that we use get(), isPresent, and orElse functions on.
Here's a sample code that worked on 3.3 but fails on 4.1:
The error occurs in the actions on the line trying to access parameterValues.get() with PropertyAccessException.
If I insert this call parameterValues = config.get('parameters'); then it works.
I have other mvel yaml files that are having a similar problem, but so far, I've not been able to solve it simply by re-initializing the variable like above.
The text was updated successfully, but these errors were encountered:
I followed the v3 --> v4 upgrade instructions and all mvel yaml file rules compile and most run fine. However, a few are throwing errors in the actions when attempting to access variables (seems the ctx is null and the variable can't be accessed).
Is there another step in the version upgrade? Most of our variables are Optionals that we use get(), isPresent, and orElse functions on.
Here's a sample code that worked on 3.3 but fails on 4.1:
The error occurs in the actions on the line trying to access parameterValues.get() with PropertyAccessException.
If I insert this call
parameterValues = config.get('parameters');
then it works.I have other mvel yaml files that are having a similar problem, but so far, I've not been able to solve it simply by re-initializing the variable like above.
The text was updated successfully, but these errors were encountered: