Issue Type: Bug Bug
Affects Versions: 1.0
Assignee: David Ward
Components: component-rules
Created: 22/Jul/13 9:49 AM
Description:

As part of the work for SWITCHYARD-1559, KIE/Drools/jBPM was upgraded from 6.0.0.Beta3 to 6.0.0.Beta4. This raised a classloading issue, which prompted a workaround (also on SWITCHYARD-1559) in how KieBaseConfigurations and KnowledgeBuilderConfigurations are created. This workaround, however, had the unknown effect of breaking the ability for DRL to declare their own fact models.

For example, this:

declare Person
name : String
end

results in this:

Unable to create a class for declared type org.test.Person: Unable to load class: org.test.Person;
Class 'Person' not found for type declaration of 'Person'

The workaround in org.switchyard.component.common.knowledge.util.Configurations needs to be fixed so that it works in all cases, and a junit test should be added that exercises declared facts in DRL, so we don't hit this again.

Fix Versions: 1.1
Project: SwitchYard
Priority: Blocker Blocker
Reporter: David Ward
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira