-
Bug
-
Resolution: Done
-
Major
-
7.46.0.Final
-
None
-
2020 Week 46-48 (from Nov 9)
-
4
-
Undefined
-
NEW
-
NEW
-
---
-
---
ParseExpressionErrorResult.getLines() (and other error results classes other than CompilationProblemErrorResult) returns an empty array. So error message tells that the error line is -1. (e.g. JBRULESTest.testJBRULES2872())
Message [id=1, kieBase=defaultKieBase, level=ERROR, path=rules1.drl, line=-1, column=0 text=Unable to Analyse Expression enumVal == TestEnum.ONE || enumVal == TestEnum.TWO:]
Looking at PatternDSL.findAllConstraint(), BaseDescr (constraint) retains its line number but ConstraintExpression (constraintExpression) doesn't. So we cannot find the line number inside
ConstraintParser.drlxParse().
- is incorporated by
-
DROOLS-5815 executable-model test failure in test-compiler-integration JBRULESTest
- Closed