Bug 1324017

Summary: KModuleBeanFactoryPostProcessor in KieSpring is unable to load kmodule on Windows
Product: [Retired] JBoss BRMS Platform 6 Reporter: Jiri Petrlik <jpetrlik>
Component: BREAssignee: Edson Tirelli <etirelli>
Status: CLOSED EOL QA Contact: Jiri Petrlik <jpetrlik>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.3.0CC: kverlaen, rrajasek
Target Milestone: ER3Keywords: Regression
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:02:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Example Spring XML none

Description Jiri Petrlik 2016-04-05 10:50:03 UTC
Created attachment 1143773 [details]
Example Spring XML

Description of problem:

KModuleBeanFactoryPostProcessor in KieSpring is unable to load kmodule. This bug appears only under the Windows operating system. See attached spring xml, which tries to load kie module and kie bases.


Version-Release number of selected component (if applicable):
BxMS 6.3.0.ER2

How reproducible:


Steps to Reproduce:
1. Load kmodule.xml using KModuleBeanFactoryPostProcessor. Use Spring xml code from attached XML. (<bean id="kiePostProcessor" class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>)

Actual results:

Kie bases defined in Spring XML do not contain any resources.

Expected results:

Kie bases defined in Spring XML should contain resources.

Additional info:

Comment 2 Petr Široký 2016-04-06 15:30:26 UTC
Fixed on upstream branches 6.4.x and master.

6.4.x:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/03c45e404523

master:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/692318d507fa

Comment 3 Jiri Petrlik 2016-04-14 15:39:26 UTC
Verified using BxMS 6.3.0.ER3 ("6.4.0.Final-redhat-1") and "org.jboss.qa.brms.bre.spring" tests in QE test suite.