-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update JEASY MVEL dependencies to fix security vulnerabilities #655
base: master
Are you sure you want to change the base?
Conversation
@@ -1427,7 +1428,13 @@ private Facts getEntries(String[] address, JSONObject object) throws JSONExcepti | |||
formObject.put(RuleConstant.IS_RULE_CHECK, true); | |||
formObject.put(RuleConstant.STEP, formObject.getString(RuleConstant.STEP)); | |||
|
|||
result.asMap().putAll(getValueFromAddressCore(formObject).asMap()); | |||
|
|||
Facts resultFacts = getValueFromAddressCore(formObject); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this fixes an issue where comparison values were not available
} | ||
|
||
@Override | ||
public void onFailure(Rule rule, Facts facts, Exception exception) { | ||
//Overriden | ||
Timber.e("Putting facts in onFailure"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly check if there might be successful executions of rules meaning that we might need to update our facts
object with key-values
from the facts.facts
map
@junaidwarsivd Kindly push your latest changes and fix the build in this PR |
to local snapshot on which the jackson dependency is updated
…erability-upgrade
…ated it needs the Extended version of YamlRuleDefinitionReader
@@ -27,8 +29,16 @@ public class AssetsFileSource implements FormFileSource { | |||
private MVELRuleFactory mvelRuleFactory; | |||
|
|||
private AssetsFileSource() { | |||
if(Utils.enabledProperty(NativeFormsProperties.KEY.EASY_RULES_V3_COMPATIBILITY)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the formatting and/or spacing in the files
No description provided.