In the last plugin version (fresh download on github):
If you create a new action "my_new_action" and directly save the workflow (without editing the action). Next you close the workflows tab and reopen it. And go in editing the action, there will be many empty transition added:
![workflow1](https://cloud.githubusercontent.com/assets/9025839/22446709/549f767c-e74e-11e6-9ca7-357e3d26495a.png)
Next, remove all those empty transition and save the workflow again. Close again the Workflows tab and reopen it. Try to edit again the action, a JS error is sent:
TypeError: events[eventKey].splice is not a function
here https://github.com/dpfaffenbauer/pimcore-WorkflowGUI/blob/master/static/js/workflow/item.js#L625
![workflow2](https://cloud.githubusercontent.com/assets/9025839/22446761/ab56cab0-e74e-11e6-83da-146449f25ab7.png)
The foreach, send more eventKey than just array (with console.log i found it send all object method, like _reverse....).
I don't know if the two problem are related (multiple empty line for transition, and events parsing).
I made the test on firefox last stable version/windows 7 (but i don't think it is browser related).
If it can help, here is the wokflowmanagement.php generated:
workflowmanagement.zip
As it can be seen many object method have been added (flatten, intersect, clone...).
And i have seen that at the first save the action php config is minimal with just filled fields, but after two save those are added:
"additionalFields" => [
],
"users" => [
],
"notificationUsers" => [
],
"events" => [
]
During your test closing the general Workflows tab must be close and after reopened (it seems if not closed, action can be edited, like if it was in memory...).
Feel free to ask me any further information.
Thanks.