Bug 971668 - Decision table in a CSV file is not included in KieBase
Summary: Decision table in a CSV file is not included in KieBase
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR6
: 6.0.0
Assignee: Edson Tirelli
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-07 06:10 UTC by Marek Winkler
Modified: 2014-08-06 20:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:18:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Winkler 2013-06-07 06:10:06 UTC
Description of problem:

A KieBase containing only a CSV file is defined in kmodule.xml, when this KieBase is obtained from a KieContainer, the KieBase is empty. During construction of the KieBase, the following warning is displayed:

2013-06-07 07:53:40,853 [main] WARN  No files found for KieBase kbaseCSV, searching folder /home/mwinkler/work/repositories/droolsjbpm/drools/drools-decisiontables/target/test-classes

The same test works for a KieBase with XLS file.

Version-Release number of selected component (if applicable):

Drools 6.0.0.Beta3
Drools 6.0.0-SNAPSHOT

BRMS 6.0.0 DR4

How reproducible:

Run reproducer test org.drools.decisiontable.integrationtests.KModuleWithDecisionTablesTest#testNonEmptyKieBaseWithCSV in drools-decisiontables. (I will attach link to the pull request with the reproducer shortly.)

Actual results:

The test testNonEmptyKieBaseWithCSV fails because the KieBase is empty.

Expected results:

The test testNonEmptyKieBaseWithCSV should succeed.

Comment 1 Marek Winkler 2013-06-07 06:18:08 UTC
Created pull request with a reproducer in drools-decisiontables: https://github.com/droolsjbpm/drools/pull/210

Comment 3 Marek Winkler 2013-08-08 15:12:06 UTC
Verified on 6.0.0.DR6.


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