[jboss-jira] [JBoss JIRA] (DROOLS-2081) Drools Decision Table Templates doesn't work on Spring Boot

Edson Tirelli (JIRA) issues at jboss.org
Tue Oct 31 12:28:00 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli reassigned DROOLS-2081:
-------------------------------------

    Assignee: Toni Rikkola  (was: Edson Tirelli)


> Drools Decision Table Templates doesn't work on Spring Boot
> -----------------------------------------------------------
>
>                 Key: DROOLS-2081
>                 URL: https://issues.jboss.org/browse/DROOLS-2081
>             Project: Drools
>          Issue Type: Bug
>         Environment: Spring Boot
>            Reporter: Sebastian Simrodt
>            Assignee: Toni Rikkola
>            Priority: Minor
>
> Spring Boot changes the classpath of files from 
> "com/example/spreadsheet.xls" 
> to
> "BOOT-INF/classes/com/example/spreadsheet.xls" 
> Hence you do a string compare of the classpath, templates won't work on a Spring Boot Environment.
> I guess the easiest way to fix it, would be to change equals to endsWith in 
> AbstractKieModule:addResourceToCompiler



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list