Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-2029

Executable model doesn't report an error when duplicated rule name with "include" kbase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.13.5.GA
    • BRE
    • False
    • None
    • False

      Assuming "kjar-sub" has a rule name "RuleA" with a package "org.example" and "kjar-main" has the same rule name "RuleA" with the same package "org.example",

      when "kjar-main" includes "kjar-sub":

      <kmodule>
        <kbase name="kjar-main" includes="kjar-sub" />
      </kmodule>
      

      non-exec-model reports an error "Duplicate rule name" during build-time, but exec-model doesn't report an error and kjar builds are successful. "RuleA" is overridden by "kjar-sub"'s one.

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-myoshida Masato Yoshida
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: