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

Knowledge Agent rebuilding KnowledgeBase with scanner/notifier does not work with declared facts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.1.FINAL, 5.2.0.M1
    • Fix Version/s: 5.5.0.Beta1
    • Component/s: drools-core
    • Labels:
      None

      Description

      When reloading rules in a KnowledgeAgent declared facts will cause ClassCastExceptions when new-instance is set to false. When new-instance is set to true, the KnowledgeBase is rebuilt, however declared facts are not recognized and associated rules will not fire. Rules not using declared facts will fire normally. Using POJOs works fine.

      In both cases the KnowledgeAgent will build the rule base the first time, the issue only seems to occur when the changeset resources are modified and are detected by the resource notifier and scanner.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eaa Esteban Aliverti (Inactive)
              Reporter:
              rossh00 Ross Hall (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: