[jboss-jira] [JBoss JIRA] (DROOLS-4286) Fails to extends rule from other file with same package name.

Gajendra Jore (Jira) issues at jboss.org
Wed Jul 3 02:39:00 EDT 2019


Gajendra Jore created DROOLS-4286:
-------------------------------------

             Summary: Fails to extends rule from other file with same package name.
                 Key: DROOLS-4286
                 URL: https://issues.jboss.org/browse/DROOLS-4286
             Project: Drools
          Issue Type: Sub-task
    Affects Versions: 7.22.0.Final
            Reporter: Gajendra Jore
            Assignee: Mario Fusco



I am facing same issue on version 7.22.0.

Steps to reproduce:
1. Create parent.drl file contains parent rule as
2. Create  child.drl file with child rule extends parent rule.
3. *+Both files have same package name+*.
4. While creating KieBase it throws exception from *newKnowledgeBase()* method of *KnowledgeBuilderImpl.java* class and exception is as follows,

+ *Unable to resolve parent rule, please check that both rules are in the same package : [Rule name='childRule'] Unresolved parent name parentRule*+






--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list