[jboss-jira] [JBoss JIRA] (DROOLS-47) Recovery from ChangeSet compilation fail
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Oct 29 04:41:02 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-47:
---------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> Recovery from ChangeSet compilation fail
> ----------------------------------------
>
> Key: DROOLS-47
> URL: https://issues.jboss.org/browse/DROOLS-47
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Drools Expert 5.4.0, 5.5.0
> Reporter: Karel Cemus
> Assignee: Mario Fusco
> Priority: Minor
>
> Drools org.drools.compiler.PackageBuilder has a bug in loading change-sets containing damaged resources. Compilation of such change-set prevents builder recovery even by using undo() method.
> When user adds new Drools resource into KnowledgeBuilder, its implementation KnowledgeBuilderImpl on line 50 calls PackageBuilder to register the change set file as an official resource.
> In a following step the PackageBuilder extracts all mentioned resources from that change-set file and processes each of them separately but without their official registration in loaded resources. But these resources are processed under their own resource name which is the key in the set of reported errors.
> Due to such behavior there remains errors preventing building stable org.drools.KnowledgeBase with an IllegalArgumentException even after calling KnowledgeBuilder#undo(), because it removes only errors reported directly with the change-set resource, but not the errors reported with resources from the change-set.
--
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
More information about the jboss-jira
mailing list