[jboss-jira] [JBoss JIRA] (DROOLS-1039) An invalid kie.conf should throw an exception and not be silently ignored
Geoffrey De Smet (JIRA)
issues at jboss.org
Fri Jan 22 08:33:01 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated DROOLS-1039:
-------------------------------------
Component/s: core engine
> An invalid kie.conf should throw an exception and not be silently ignored
> -------------------------------------------------------------------------
>
> Key: DROOLS-1039
> URL: https://issues.jboss.org/browse/DROOLS-1039
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Affects Versions: 6.4.0.Beta1
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
>
> In drools-belief or optaplanner-core, change the META-INF/kie.conf file like this:
> {code}
> [
> 'assemblers' : [ new org.foo.ThisDoesNotExists() ],
> 'weavers' : [],
> 'runtimes' : [],
> 'beliefs' : []
> ]
> {code}
> Current behavior: it doesn't throw any exception, but of course later on things go haywire at some point with a completely unrelated error message.
> Expected Behavior: Fail fast and let me know that org.foo.ThisDoesNotExists does not exist and that my kie.conf is in error.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list