Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1723

Rule compiler does not fail for misspelled sliding window predicates

    Details

    • Sprint:
      2017 Week 34-35
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      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.

      rule "Risky Event"
      no-loop 
      
      	when
      		$plcEvent: PLCEvent( input2 > 10.0 ) over window:len(3)
      	then
      		insert(new RiskyEvent($plcEvent));
      				
      end
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  mfusco Mario Fusco
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: