Red Hat Bugzilla – Bug 971668
Decision table in a CSV file is not included in KieBase
Last modified: 2014-08-06 16:18:07 EDT
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):
BRMS 6.0.0 DR4
Run reproducer test org.drools.decisiontable.integrationtests.KModuleWithDecisionTablesTest#testNonEmptyKieBaseWithCSV in drools-decisiontables. (I will attach link to the pull request with the reproducer shortly.)
The test testNonEmptyKieBaseWithCSV fails because the KieBase is empty.
The test testNonEmptyKieBaseWithCSV should succeed.
Created pull request with a reproducer in drools-decisiontables: https://github.com/droolsjbpm/drools/pull/210
Verified on 6.0.0.DR6.