Affects Version/s: Master
If there is a published workflow and another workflow definition is saved with the same <name>, the published workflow becomes unpublished under 'Not Published'. References to the previously published definition will also be broken, e.g. under Schemes.
- Go to Control Panel > Configuration > Workflow
- Click Add new workflow
- Upload the attached workflow definition
- Click Save
- Navigate back
Expected result : The following should happen:
Single Approver workflow still published, and new workflow is saved under 'Not Published'.
Actual result : The following actually happens:
Single Approver workflow missing, and new workflow is saved under 'Not Published'.
Reproduced on : Tomcat 9.0.6 + MySQL 5.7.20 + Portal master GIT ID 7eb86ce5f6a7b2c9a405853a20fe81592e639219