Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9974

email notification does not work if newline is included in mail body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.64.0.Final
    • 7.52.0.Final, 7.63.0.Final
    • Human Task Service
    • None
    • False
    • False
    • NEW
    • NEW
    • Hide

      create Human Task and set Notifications and input mail body with multiple lines.
      ( see attached example bpmn)
      start process and wait until notification will be sent.

      Show
      create Human Task and set Notifications and input mail body with multiple lines. ( see attached example bpmn) start process and wait until notification will be sent.
    • 2021 Week 49-51 (from Dec 6th)

      In human task notification, if newline is included (i.e. there are multiple lines in Stunner UI) in mail body, when trying to send notification, WARN like the following happens and the notification is not sent.

      17:10:35,746 WARN  [org.jbpm.services.task.impl.util.HumanTaskHandlerHelper] (default task-51) Incorrect syntax of deadline property [from:jbpmadmin|tousers:|togroups:|toemails:user@test.com|replyTo:|subject:Task Notification : ${processInstanceId}|body:line1
      line2]@[PT1M]
      

            ftirados Francisco Javier Tirado Sarti
            rhn-support-hmiura Hiroko Miura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: