]
Ronald van Kuijk reassigned JBPM-978:
-------------------------------------
Assignee: Ronald van Kuijk (was: Tom Baeyens)
<mail tag text attribute does not allow html content. Secondly no
"CC" attribute in the mail tag
------------------------------------------------------------------------------------------------
Key: JBPM-978
URL:
http://jira.jboss.com/jira/browse/JBPM-978
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM jPDL 3.2, jBPM jPDL 3.2.2, jBPM jPDL 3.2.1
Environment: Operating System: Windows 2000 professional
Java 1.5, jboss server: jboss-4.0.4
JBPM runtime: jbpm-jpdl-3.2.GA
Reporter: Naseem Khan
Assigned To: Ronald van Kuijk
Fix For: jBPM jPDL 3.2.4
In jbpm email support, html formatting is not working.
<event type="node-leave">
<mail name="M_MailAction" actors="user(bert)"
to="#{Mail}"
template="jbpm.mail.templates.xml"
subject="Approval Mail to Admin"
text="Travel Approval
Form:<b>EmployeeId:</b>#{EmployeeId}"/>
</event>
Now in the text attribute, html tag is not working. At the time of process deployment
following exception occurred:
org.jbpm.jpdl.JpdlException: [[FATAL] line 28: The value of attribute "text"
associated with an element type "mail" must not contain the '<'
character., [ERROR] couldn't parse process definition]
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:173)
org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:51)
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(Unknown Source)
org.jbpm.webapp.servlet.ProcessUploadServlet.doDeployArchive(Unknown Source)
org.jbpm.webapp.servlet.ProcessUploadServlet.handleRequest(Unknown Source)
org.jbpm.webapp.servlet.ProcessUploadServlet.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Secondly there is no cc attribute in the mail tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: