Bug 1001969 - Packages included in KieBase are filtered based on path rather than package declaration
Summary: Packages included in KieBase are filtered based on path rather than package d...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER3
: 6.0.0
Assignee: Edson Tirelli
QA Contact: Tomas Schlosser
URL:
Whiteboard:
Depends On:
Blocks: 1018817
TreeView+ depends on / blocked
 
Reported: 2013-08-28 08:35 UTC by Tomas Schlosser
Modified: 2013-10-14 13:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1018817 (view as bug list)
Environment:
Last Closed: 2013-10-14 13:02:23 UTC
Type: Bug


Attachments (Terms of Use)

Description Tomas Schlosser 2013-08-28 08:35:46 UTC
Description of problem:
If you use attribute 'packages' in kie module's declaration of kie base, the packages are filtered using the path they are on rather than package declaration that is in the rule file.

Version-Release number of selected component (if applicable):
BRMS 6.0.0.ER2

Additional info:
I guess this is for performance reasons, since compiling a rule file just to throw it away is a waste. However, I'd expect at least the warning when you compile file with different path and package declaration.
At the very least add this warning to documentation, so users know what to expect.

Comment 1 Edson Tirelli 2013-08-28 12:39:20 UTC
Tomas,

For 6, our goal is to enforce package->path consistency the same way that java does. We are probably not covering all use cases yet, but it is expected that if a resource is not properly stored into the correct path, it will result in problems, like the one described in this ticket.

So, I would like to suggest closing this ticket as not a bug, but of course, we are open to improve the way we enforce the package->path consistency.

Comment 5 Tomas Schlosser 2013-10-14 13:02:23 UTC
I have opened a bug for documentation as this has to be emphasized in documentation. Closing as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.