-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 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
-
Component/s: Workflow
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Issue
Unable to set recipient notification by user identifier other than user-id in Workflow when Kaleo Designer is deployed.
Steps to Reproduce
- Sign in
- Open Control Panel > Workflow > Single Approver > Edit
- View source
- Locate the "Creator Modification Notification"
- 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-id, screen-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
- causes
-
LPS-119896 Unable to add/update workflow definitions with a Task Assignment of 'User'
- Closed