[jboss-jira] [JBoss JIRA] (DROOLS-2081) Drools Decision Table Templates doesn't work on Spring Boot
Sebastian Simrodt (JIRA)
issues at jboss.org
Mon Oct 30 11:34:00 EDT 2017
Sebastian Simrodt created DROOLS-2081:
-----------------------------------------
Summary: 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: Edson Tirelli
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