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

KnowledgeAgent can't incrementally load resources with equivalent declared types

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Done
    • 5.4.0.Final
    • 5.5.0.Beta1
    • drools-core
    • None

    Description

      Assume a KA is created and configured to load its KB incrementally.
      Assume the KA will load two resources in two different steps.
      If the two DRL resources contain the same type definition, two typeDeclarations will be created.
      The first will be "novel" and used to compile the first DRL.
      The second will simply refer the already loaded class.
      (Notice that the PackageBuilder will not allow the two definitions to
      be different)

      The rulebase, however, can't merge the two compiled packages because
      the "novel" attribute is different and apparently incompatible.

      Attachments

        Activity

          People

            dsotty Davide Sottara (Inactive)
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: