[
https://issues.jboss.org/browse/DROOLS-1723?page=com.atlassian.jira.plugi...
]
Mario Fusco moved RHBRMS-2904 to DROOLS-1723:
---------------------------------------------
Project: Drools (was: JBoss BRMS Platform)
Key: DROOLS-1723 (was: RHBRMS-2904)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: core engine
(was: BRE)
Affects Version/s: (was: 6.4.4.GA)
QE Status: NEW
Rule compiler does not fail for misspelled sliding window predicates
--------------------------------------------------------------------
Key: DROOLS-1723
URL:
https://issues.jboss.org/browse/DROOLS-1723
Project: Drools
Issue Type: Bug
Components: core engine
Environment: DRL files
Reporter: Mario Fusco
Assignee: Mario Fusco
Rule engine compiles the following DRL with no exception, despite the erroneous
expression *window:len*.
From behavior, it seems that the last part of the condition is simply disregarded.
{code}
rule "Risky Event"
no-loop
when
$plcEvent: PLCEvent( input2 > 10.0 ) over window:len(3)
then
insert(new RiskyEvent($plcEvent));
end
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)