[
https://issues.jboss.org/browse/JBPM-3045?page=com.atlassian.jira.plugin....
]
Cristiano Nicolai commented on JBPM-3045:
-----------------------------------------
The problem with using .drl is that when you try to build the package, Guvnor validates
.drl rules files, causing validation errors on .ftl files renamed to .drl.
For example, if I try to deploy com.sample.evaluation.ftl into Guvnor as .drl, I get the
following exception while building a new package or validating the file:
[com.sample.evaluation] [ERR 102] Line 3:0 mismatched input '<' expecting
'then' in rule 'com.sample.evaluation'
My understand is that this should be a feature request for Guvnor, to handle .ftl files
with the same behaviour as .drl or .png files. Enabling access through direct URL.
As workaround I'm renaming my .ftl files to .png, then I can deploy it into Guvnor,
build a package and access it changing AbstractFormDispatcher class to use .png
extension.
Console server is trying to download Task Form from Guvnor using .drl
file extension instead of .ftl
----------------------------------------------------------------------------------------------------
Key: JBPM-3045
URL:
https://issues.jboss.org/browse/JBPM-3045
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Console
Affects Versions: jBPM 5.0
Environment: jbpm-gwt-console-server 5.0.0
drools-guvnor 5.2.0.M1
jbossas 5.1
Reporter: Cristiano Nicolai
Assignee: Kris Verlaenen
Fix For: jBPM 5.1
Attachments: 0001-Looking-for-wrong-task-form-extension-on-Guvnor.patch
When accessing a process from jbpm-console, it tries to download Task Forms using .drl
extension.
Method getTemplate from AbstractFormDispatcher is creating the URL to Guvnor with the
wrong file extension. Please change from .drl to .ftl
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira