{"action":"opened","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/7757","labels_url":"https://api.github.com/repos/dotCMS/core/issues/7757/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/7757/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/7757/events","html_url":"https://github.com/dotCMS/core/issues/7757","id":78133635,"number":7757,"title":"Unable to reorder workflow sub-actions ","user":{"login":"bryanboza","id":2641437,"avatar_url":"https://avatars.githubusercontent.com/u/2641437?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanboza","html_url":"https://github.com/bryanboza","followers_url":"https://api.github.com/users/bryanboza/followers","following_url":"https://api.github.com/users/bryanboza/following{/other_user}","gists_url":"https://api.github.com/users/bryanboza/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanboza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanboza/subscriptions","organizations_url":"https://api.github.com/users/bryanboza/orgs","repos_url":"https://api.github.com/users/bryanboza/repos","events_url":"https://api.github.com/users/bryanboza/events{/privacy}","received_events_url":"https://api.github.com/users/bryanboza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotCMS/core/labels/Type%20:%20bug","name":"Type : bug","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-19T15:25:37Z","updated_at":"2015-05-19T15:25:37Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n- Create a Test Workflow Scheme with only one step and more than 2 Sub-actions.\r\n- Try to reorder \r\n- Save the changes \r\n- Go back and try to edit again \r\n\r\nYou can't see the changes, If you make the follow query directly in the database we have a problem in the my_order column....\r\n\r\nIf you add three actions, then delete one, and add another one you will see that: \r\n```\r\nselect id, name, my_order from  workflow_Action_class where action_id = '$action_id' order by my_order asc;\r\n                  id                  |        name         | my_order \r\n--------------------------------------+---------------------+----------\r\n 69089ccd-303b-4e8f-90df-b1bad764cec2 | Notify Assignee     |        0\r\n 60c9e4df-1035-43ff-a317-c6bb777e7e23 | Unlock content      |        2\r\n a1960972-d30c-412f-9e10-f8d1eebe4bfc | Comment on Workflow |        2\r\n ```\r\n\r\nWe have two content with the same order number...\r\n\r\nTested on 3.2 // Postgres // FF "}}