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

Can not use classes with same name from different packages in the same rule package

    XMLWordPrintable

Details

    • NEW
    • NEW

    Description

      If you have fact types:

      • org.Person
      • org.test.Person

      It will not be possible to use these in the same rule package even if they are used in different guided assets. This is since the package imports both and the compiler does not know what is the one that is referenced in the generated DRL code.

      The fix requires:

      • to update the exiting fact type selectors so that they show what the package of the fact that is used is.
      • to use the FQCN in the DRL source.
      • add the support for asset visitors
      • add the support for DMO

      Attachments

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              rh-ee-jomarko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: