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

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

     [ https://issues.apache.org/jira/browse/OOZIE-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Salamon resolved OOZIE-3030.
-----------------------------------
    Resolution: Duplicate

> 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
>            Priority: Major
>
> 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
(v7.6.14#76016)