Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-3091

[oozie] Workflow editor removes extra new lines from email actions when submitting workflows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      If you create a workflow with a single email action and in the body of text include something like:
      New
      Line
      Test
      Spaces
      Galore
      When you submit it, Hue removes all of the extra new lines as you can see if the final workflow definition:
      <workflow-app name="emailworkflow" xmlns="uri:oozie:workflow:0.5">
      <start to="email-53e2"/>
      <kill name="Kill">
      <message>Action failed, error message[$

      {wf:errorMessage(wf:lastErrorNode())}

      ]</message>
      </kill>
      <action name="email-53e2">
      <email xmlns="uri:oozie:email-action:0.1">
      <to>cconner@test.com</to>
      <subject>New line test</subject>
      <body>New
      Line
      Test
      Spaces
      Galore</body>
      </email>
      <ok to="End"/>
      <error to="Kill"/>
      </action>
      <end name="End"/>
      </workflow-app>

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              cconner Chris Conner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: