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

Stunner designer strips square brackets characters - HT Notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.32.0.Final
    • Designer
    • NEW
    • NEW
    • Hide
      1. Start the Business Process designer.
      2. Create a process with a human task.
      3. Open the "Notifications" window in the task.
      4. Assign the "Body" field with the following value: "test[test]"
      5. Save and close the process definition
      6. Open the process definition again
      7. Open the notifications window again

      Actual result

      The body is "testtest" without the square brackets.

      Expected result

      The body is "test[test]" with the square brackets.

      Show
      Start the Business Process designer. Create a process with a human task. Open the "Notifications" window in the task. Assign the "Body" field with the following value: "test [test] " Save and close the process definition Open the process definition again Open the notifications window again Actual result The body is "testtest" without the square brackets. Expected result The body is "test [test] " with the square brackets.
    • 2020 Week 01-03 (from Dec 30), 2020 Week 04-06 (from Jan 20)

      In a Human task, if you edit the "notifications" configuration and add some text in the "Body" field, when you save and close the Process Definition and come back again to the notifications window, any sqare bracket disappears from the text.

      When using notifications, mvel expressions can be used to access task variables by using expressions like: ${doc['varName']}; if you come back to the notifications to add a second notification in the future, the brakets will be removed, generating exceptions when the template for the email body is processed.

      This issue is similar to: https://issues.jboss.org/browse/JBPM-4149
      But requires the additional step of re-opening the process diagram.

              handreyrc Handrey Cunha
              handreyrc Handrey Cunha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: