Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2898

Rule compiler does not fail for misspelled sliding window predicates

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.4.6, 6.4.6.GA
    • 6.4.4.GA
    • BRE
    • None
    • DRL files

    • CR1
    • 2017 Week 34-35

      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
      

              mfusco@redhat.com Mario Fusco
              dmarrazz@redhat.com Donato Marrazzo
              Archiver:
              rhn-support-ceverson Clark Everson
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi

                Created:
                Updated:
                Resolved:
                Archived: