Fix management of dot notation for maps (collision with context variables)
Resolves:
@@ -152,12 +152,12 @@ public class OSuffixIdentifier extends SimpleNode {
if (ctx != null && varName.equalsIgnoreCase("$parent")) {
return ctx.getParent();
}
+ if (iCurrentRecord != null && iCurrentRecord.containsKey(varName)) {
+ return iCurrentRecord.get(varName);
+ }
if (ctx != null && ctx.getVariable(varName) != null) {
return ctx.getVariable(varName);
}
- if (iCurrentRecord != null) {
- return iCurrentRecord.get(varName);
- }
return null;
}
if (recordAttribute != null) {
