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

Naseem Khan (JIRA) jira-events at lists.jboss.org
Mon Jun 4 06:07:19 EDT 2007


<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