You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Cseh (JIRA)" <ji...@apache.org> on 2017/08/09 07:46:00 UTC

[jira] [Created] (OOZIE-3030) Oozie Mail action - is causing issues with formatting

Peter Cseh created OOZIE-3030:
---------------------------------

             Summary: Oozie Mail action -<attachment> is causing issues with <body> formatting
                 Key: OOZIE-3030
                 URL: https://issues.apache.org/jira/browse/OOZIE-3030
             Project: Oozie
          Issue Type: Bug
            Reporter: Peter Cseh


When you define a email action in Oozie with <attachment>, then the text in <body> is not formatted.
Email Action:
{code}
    <action name="email-f689">
        <email xmlns="uri:oozie:email-action:0.2">
            <to>fooo@bar.com</to>
            <subject>Test-HTML-Text</subject>
            <body>
<![CDATA[${wf:name()} Succeeded: During Execution @ ${timestamp()}
<br/>
<br/>
Workflow Id: ${wf:id()} <br/>
Status :  <br/>
<br/>
<span style="text-decoration: underline;">URI for Logs</span>
<br/>]]>
            </body>
            <content_type>text/html</content_type>
            <attachment>${nameNode}/user/admin/shell_output.txt</attachment>
        </email>
        <ok to="End"/>
        <error to="Kill"/>
    </action>

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)