Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-113477

Unable to set recipient notification by user identifier other than user-id in Workflow

Details

    Description

      Issue
      Unable to set recipient notification by user identifier other than user-id in Workflow when Kaleo Designer is deployed.

      Steps to Reproduce

      1. Sign in
      2. Open Control Panel > Workflow > Single Approver > Edit
      3. View source
      4. Locate the "Creator Modification Notification"
      5. Change the recipients to the following:
        <recipients receptionType="to"> 
        <user> 
        <screen-name>test</screen-name> 
        </user> 
        </recipients> 

              6. Click Update

              7. Go back to the source and try to locate the Creator Modification Notification in the source code

      Expected Behavior

      It should keep screen-name tag in the xml source code.

      Since user-idscreen-name or email-address are all valid forms of contact according to the http://www.liferay.com/dtd/liferay-workflow-definition_7_1_0.xsd(workflow definition XSD), I would expect any of these three to work. Also, the UI's user search seems to show that you can use any of the three, but in the source code it only sets the user-id.

      Actual Behavior
      screen-name will be stripped, and we'll see that the code has been stripped to remove the user element in favor of assignees:

      <recipients receptionType="to">
      	<assignees/>
      </recipients>

      In reality, only user-id works for this field.

      Reproduced
      Master Commit: f1005d6bc735d8e6a1086f9f8b8379c3601d8545

      Attachments

        Issue Links

          Activity

            People

              rodrigo.cunha Rodrigo Cunha (Inactive)
              hau.bui Hau Bui
              Kiyoshi Lee Kiyoshi Lee
              Inácio Nery Inácio Nery (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 2 weeks, 5 days ago

                Packages

                  Version Package
                  7.1.10 DXP FP18
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.10 DXP GA1
                  Master