Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3255

inserting fact before populating rule base => rule does not fire, because of eval()

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • FUTURE
    • drools-core
    • None

    Description

      Scenario :

      • populate a working memory while the rule base is empty;
      • then populate the rule base ;
      • then fire rules
      • ==> rules should actually fire.

      It works for most cases, BUT when the LHS has an eval like this it fails:

      when
      Triple( subject == "<a>" , $x : object )
      eval( Double.parseDouble( $x ) > 5 )

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            jmvanel_jira Jean-Marc Vanel (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              PagerDuty