[jboss-jira] [JBoss JIRA] Closed: (JBPM-978) <mail tag text attribute does not allow html content. Secondly no "CC" attribute in the mail tag

Tom Baeyens (JIRA) jira-events at lists.jboss.org
Mon Sep 3 03:00:18 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBPM-978?page=all ]

Tom Baeyens closed JBPM-978.
----------------------------

    Resolution: Rejected

< is not allowed in attribute values.   that is an XML constraint.

apart from that, we send the mail message in plain text and we have no intent to support html emails.  contributions in that area are always welcomed.

> <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: Bug
>          Components: BPEL
>    Affects Versions: jBPM jPDL 3.2
>         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: Tom Baeyens
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list