Saving an invalid workflow will replace default workflow Single Approver.
Steps to Reproduce
- go to Control Panel > Configuration > Workflow
- Click Add new workflow
- Upload the attached invalid workflow definition
- Click Save
Expected result : The following should happen:
Published definition Single Approver still present, and Unpublished definition saved.
Actual result : The following actually happens:
Published definition Single Approver isn't present, and Unpublished definition saved.
Reproduced on : Tomcat 8.0.32 + MySQL 5.7.20 + Portal master GIT ID 486432dd2e464f8e800b6351925f107a8b8c3548
LPS-79970 Saving another workflow definition with the same <name> will unpublish the first one