Skip to content

Fixed: Check condition field names even when no delegator is passed - #2548

Open
mridulpathak wants to merge 1 commit into
apache:trunkfrom
mridulpathak:entity-expr-field-name-check
Open

mridulpathak wants to merge 1 commit into
apache:trunkfrom
mridulpathak:entity-expr-field-name-check

Conversation

@mridulpathak

Copy link
Copy Markdown
Contributor
  • EntityExpr.checkRhsType checks again that the field exists in the entity model, and only skips the type checks that need a delegator when none is passed.
  • EntityJoinOperator now passes the delegator on when it renders a binary AND/OR condition, so the conditions nested in it get the full check.

- EntityExpr.checkRhsType now checks that the field exists in the entity model before it skips the type checks that need a delegator
- EntityJoinOperator now passes the delegator on when it renders a binary AND/OR condition, so the nested conditions get the full check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant