[JBoss JIRA] Updated: (JBPM-978) implement support for HTML mail
by Ronald van Kuijk (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-978?page=all ]
Ronald van Kuijk updated JBPM-978:
----------------------------------
Summary: implement support for HTML mail (was: <mail tag text attribute does not allow html content. Secondly no "CC" attribute in the mail tag)
Original Estimate: 1 day
Remaining Estimate: 1 day
Description:
In jbpm email support, html formatting is not working, even if correctly escaped or put in cdata sections.
html mail will only be used when a template or the text element is used, not with the text attribute
was:
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.
Affects: [Documentation (Ref Guide, User Guide, etc.)]
Complexity: Low
Priority: Minor (was: Major)
> implement support for HTML mail
> -------------------------------
>
> 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
> Priority: Minor
> Fix For: jBPM jPDL 3.2.4
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> In jbpm email support, html formatting is not working, even if correctly escaped or put in cdata sections.
> html mail will only be used when a template or the text element is used, not with the text attribute
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira