{"action":"closed","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/13889","repository_url":"https://api.github.com/repos/dotCMS/core","labels_url":"https://api.github.com/repos/dotCMS/core/issues/13889/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/13889/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/13889/events","html_url":"https://github.com/dotCMS/core/issues/13889","id":306524422,"number":13889,"title":"Unable to execute any workflow action importing content if don't have the save as sub action","user":{"login":"bryanboza","id":2641437,"avatar_url":"https://avatars2.githubusercontent.com/u/2641437?v=4","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":[{"id":98091923,"url":"https://api.github.com/repos/dotCMS/core/labels/Cat%20:%20Workflow","name":"Cat : Workflow","color":"5319e7","default":false},{"id":2292315,"url":"https://api.github.com/repos/dotCMS/core/labels/Doc%20:%20Needs%20Doc","name":"Doc : Needs Doc","color":"bfdadc","default":false},{"id":919511488,"url":"https://api.github.com/repos/dotCMS/core/labels/Passed%20Internal%20QA","name":"Passed Internal QA","color":"b3e6ff","default":false},{"id":690514693,"url":"https://api.github.com/repos/dotCMS/core/labels/Release%20:%205.0.0","name":"Release : 5.0.0","color":"fbca04","default":false},{"id":1398029,"url":"https://api.github.com/repos/dotCMS/core/labels/Type%20:%20Bug","name":"Type : Bug","color":"006b75","default":false},{"id":42472236,"url":"https://api.github.com/repos/dotCMS/core/labels/WF%20:%20Merged","name":"WF : Merged","color":"d4c5f9","default":false},{"id":2292302,"url":"https://api.github.com/repos/dotCMS/core/labels/WF%20:%20Passed%20QA","name":"WF : Passed QA","color":"98D998","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/119","html_url":"https://github.com/dotCMS/core/milestone/119","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/119/labels","id":3184457,"number":119,"title":"Cody Current","description":"","creator":{"login":"jgambarios","id":923947,"avatar_url":"https://avatars1.githubusercontent.com/u/923947?v=4","gravatar_id":"","url":"https://api.github.com/users/jgambarios","html_url":"https://github.com/jgambarios","followers_url":"https://api.github.com/users/jgambarios/followers","following_url":"https://api.github.com/users/jgambarios/following{/other_user}","gists_url":"https://api.github.com/users/jgambarios/gists{/gist_id}","starred_url":"https://api.github.com/users/jgambarios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgambarios/subscriptions","organizations_url":"https://api.github.com/users/jgambarios/orgs","repos_url":"https://api.github.com/users/jgambarios/repos","events_url":"https://api.github.com/users/jgambarios/events{/privacy}","received_events_url":"https://api.github.com/users/jgambarios/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":29,"state":"open","created_at":"2018-03-13T16:25:14Z","updated_at":"2018-05-14T16:26:49Z","due_on":"2018-05-11T07:00:00Z","closed_at":null},"comments":15,"created_at":"2018-03-19T15:59:26Z","updated_at":"2018-05-14T16:26:48Z","closed_at":"2018-05-14T16:26:48Z","author_association":"CONTRIBUTOR","body":"Part of the new changes in the card #12676, is now we are able to execute actions directly when you are importing content. but we are unable to execute any nothing if the selected action don't have the save as sub-action. \r\n\r\n## Expected Behavior\r\nIf you are importing content that does not exist yet, we should try to execute the action and fail, but if the content exist, we need make sure we apply this action and update existing the contents. \r\n\r\n## Current Behavior\r\nWe detect the contents already exist and say that will update, but if the action don't do the (save) we are not updating the existing ones\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Login as admin \r\n2. Create a new content types with 2 text fields (ID: https://screencast.com/t/yNr3O36IxL ,  and Name: https://screencast.com/t/lIxPFThdimO )\r\n3. Add some pieces of content \r\n4. Export the all the content of the content type \r\n5. Now edit the csv file and make some changes to the name field \r\n6. Try to import the content but execute some action without save \r\n\r\nWith unpublish: https://gist.github.com/bryanboza/9b697746cc6e4b387b1c5eba877bc4fe\r\nWith archive: https://gist.github.com/bryanboza/3d7bc85e838f2e17a2dc9d3e27951a98\r\n\r\n## Your Environment\r\nTested in the last master code // postgres // FF "}}
{"actor":{"display_login":"wezell"}}