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

Globals can't be used with temporal operators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.1.0.Beta1
    • None
    • None
    • None

    Description

      Assuming:
      global Date now;

      The pattern "Foo( this before now )" will generate various errors.
      The reason is that the Global[X]Extractors (X =

      {"","Date","Number"}

      are erroneously declared as self-referential extractors.
      If Foo is not an @event, a CCE will arise since the operators will use
      "this" rather than the global. Otherwise, the result will be inconsistent

      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: