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

[GSS] (6.4.z) A rule does not fire when String type coercion used in its pattern

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.5.GA, 6.4.6
    • 6.4.4.GA
    • BRE
    • CR1
    • Hide

      Avoid automatic type conversion and use stringAttrib == "stringValue" notation only.

      Show
      Avoid automatic type conversion and use stringAttrib == "stringValue" notation only.

      Rules are fired inconsistently if we have a mix of pattern checks in the LHS of multiple rules, eg:

        rule "rule12"
        when 
           Line(type="12")
      ...
      
        rule "rule11"
        when 
           Line(type=11)
      ...
      
        rule "rule11a"
        when 
           Line(type="11")
      

      Note that type is a String property. If we insert a Line object with type="11", we expect the two rules to be fired. However, only one rule is fired.

              mfusco@redhat.com Mario Fusco
              rhn-support-mputz Martin Weiler (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi

                Created:
                Updated:
                Resolved:
                Archived: