[
https://issues.jboss.org/browse/DROOLS-665?page=com.atlassian.jira.plugin...
]
Gajendra Jore edited comment on DROOLS-665 at 7/3/19 2:31 AM:
--------------------------------------------------------------
Hi,
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*+
Thanks,
Gajendra
was (Author: gajendra.jore):
Hi,
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*+_
Thanks,
Gajendra
Cannot extends rule from another one with the same package name
---------------------------------------------------------------
Key: DROOLS-665
URL:
https://issues.jboss.org/browse/DROOLS-665
Project: Drools
Issue Type: Bug
Affects Versions: 6.0.0.Final, 6.2.0.CR3
Reporter: Yacine Jaber
Assignee: Mario Fusco
Priority: Major
Attachments: wod-drools-test.7z
When I extends a rule from another one with the same package, but into two differents
.drl files. I got the following message :
Unable to resolve parent rule, please check that both rules are in the same package.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)