-
Bug
-
Resolution: Done
-
Critical
-
2.5.0.Final
-
None
-
None
In cases when a GraphCondition (Windup) is wrapped inside of a CompositeCondition (Rewrite),
<when> <xmlfile matches="//*[local-name()='jboss-app']" in="jboss-app.xml"/> </when> <perform> <iteration> <when> <not> <xmlfile public-id="JBoss.+DTD Java EE.+5"/> </not> </when>
the nested GraphCondition doesn't get the payload variable name:
Iteration.perform @ 253:
if (condition != null) { // automatically set the input variable to point to the current payload if (condition instanceof GraphCondition) { ((GraphCondition) condition).setInputVariablesName(getPayloadVariableName(event, context)); } conditionResult = condition.evaluate(event, context);
We need to pass this "manually" to the nested conditions.
- relates to
-
WINDUPRULE-164 Clean up and merge duplicate rules
- MODIFIED