[
https://issues.jboss.org/browse/JBPM-3045?page=com.atlassian.jira.plugin....
]
Kris Verlaenen commented on JBPM-3045:
--------------------------------------
You shouldn't deploy the files as .drl, you should just deploy them as .ftl
But to access them, you should always use .drl (regardless of the actual extension used).
So for example, if you upload MyProcess.ftl to defaultPackage in Guvnor, you can access it
using
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defa...
(even though the file is named MyProcess.ftl on Guvnor).
We only extended this for .png as this is binary data which required special handling.
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