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

Rule names with non-alphabetic characters may lead to name clashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.5.1.Final, 6.0.0.Final
    • 5.5.0.Final, 6.0.0.CR4
    • None
    • None

    Description

      A KB with the two following rules will not compile:

      rule "Rule_>"
      when then end
      
      rule "Rule_<"
      when then end
      

      Here's a more realistic example:

      rule "dollar > euro"
      when then end
      
      rule "dollar < euro"
      when then end
      

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: