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

Rule compiler does not fail for misspelled sliding window predicates

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.4.4.GA
    • Fix Version/s: 6.4.6, 6.4.6.GA
    • Component/s: BRE
    • Labels:
      None
    • Environment:

      DRL files

    • Target Release:
    • Fix Build:
      CR1
    • Sprint:
      2017 Week 34-35

      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:
                  dmarrazzo Donato Marrazzo
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: