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

DRL compiler accepts rules extending non-existing rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.5.1.Final, 6.0.0.Beta2
    • 5.5.0.Final, 6.0.0.Alpha9
    • None
    • None

      rule "X" extends "Y"
      is accepted even if no rule "Y" is available. "X" will be created with local conditions and actions only.

      This is extremely dangerous and very difficult to debug in two cases:

      • rule "Y" exists but is in a different package (not supported)
      • rule "Y*" exists and "Y" is a spelling mistake

            mproctor@redhat.com Mark Proctor
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: