{"action":"created","issue":{"url":"https://api.github.com/repos/Activiti/Activiti/issues/2318","repository_url":"https://api.github.com/repos/Activiti/Activiti","labels_url":"https://api.github.com/repos/Activiti/Activiti/issues/2318/labels{/name}","comments_url":"https://api.github.com/repos/Activiti/Activiti/issues/2318/comments","events_url":"https://api.github.com/repos/Activiti/Activiti/issues/2318/events","html_url":"https://github.com/Activiti/Activiti/issues/2318","id":394391176,"node_id":"MDU6SXNzdWUzOTQzOTExNzY=","number":2318,"title":"Missing processDefinitionKey in resumed process instances in query service","user":{"login":"miguelruizdev","id":32025234,"node_id":"MDQ6VXNlcjMyMDI1MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/32025234?v=4","gravatar_id":"","url":"https://api.github.com/users/miguelruizdev","html_url":"https://github.com/miguelruizdev","followers_url":"https://api.github.com/users/miguelruizdev/followers","following_url":"https://api.github.com/users/miguelruizdev/following{/other_user}","gists_url":"https://api.github.com/users/miguelruizdev/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelruizdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelruizdev/subscriptions","organizations_url":"https://api.github.com/users/miguelruizdev/orgs","repos_url":"https://api.github.com/users/miguelruizdev/repos","events_url":"https://api.github.com/users/miguelruizdev/events{/privacy}","received_events_url":"https://api.github.com/users/miguelruizdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"CTI777","id":21080352,"node_id":"MDQ6VXNlcjIxMDgwMzUy","avatar_url":"https://avatars1.githubusercontent.com/u/21080352?v=4","gravatar_id":"","url":"https://api.github.com/users/CTI777","html_url":"https://github.com/CTI777","followers_url":"https://api.github.com/users/CTI777/followers","following_url":"https://api.github.com/users/CTI777/following{/other_user}","gists_url":"https://api.github.com/users/CTI777/gists{/gist_id}","starred_url":"https://api.github.com/users/CTI777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTI777/subscriptions","organizations_url":"https://api.github.com/users/CTI777/orgs","repos_url":"https://api.github.com/users/CTI777/repos","events_url":"https://api.github.com/users/CTI777/events{/privacy}","received_events_url":"https://api.github.com/users/CTI777/received_events","type":"User","site_admin":false},"assignees":[{"login":"CTI777","id":21080352,"node_id":"MDQ6VXNlcjIxMDgwMzUy","avatar_url":"https://avatars1.githubusercontent.com/u/21080352?v=4","gravatar_id":"","url":"https://api.github.com/users/CTI777","html_url":"https://github.com/CTI777","followers_url":"https://api.github.com/users/CTI777/followers","following_url":"https://api.github.com/users/CTI777/following{/other_user}","gists_url":"https://api.github.com/users/CTI777/gists{/gist_id}","starred_url":"https://api.github.com/users/CTI777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTI777/subscriptions","organizations_url":"https://api.github.com/users/CTI777/orgs","repos_url":"https://api.github.com/users/CTI777/repos","events_url":"https://api.github.com/users/CTI777/events{/privacy}","received_events_url":"https://api.github.com/users/CTI777/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Activiti/Activiti/milestones/17","html_url":"https://github.com/Activiti/Activiti/milestone/17","labels_url":"https://api.github.com/repos/Activiti/Activiti/milestones/17/labels","id":3813305,"node_id":"MDk6TWlsZXN0b25lMzgxMzMwNQ==","number":17,"title":"Beta5","description":"","creator":{"login":"salaboy","id":271966,"node_id":"MDQ6VXNlcjI3MTk2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/271966?v=4","gravatar_id":"","url":"https://api.github.com/users/salaboy","html_url":"https://github.com/salaboy","followers_url":"https://api.github.com/users/salaboy/followers","following_url":"https://api.github.com/users/salaboy/following{/other_user}","gists_url":"https://api.github.com/users/salaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/salaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salaboy/subscriptions","organizations_url":"https://api.github.com/users/salaboy/orgs","repos_url":"https://api.github.com/users/salaboy/repos","events_url":"https://api.github.com/users/salaboy/events{/privacy}","received_events_url":"https://api.github.com/users/salaboy/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":42,"state":"open","created_at":"2018-11-12T09:16:03Z","updated_at":"2019-01-03T08:43:45Z","due_on":"2019-01-03T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-12-27T13:10:53Z","updated_at":"2019-01-03T09:09:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The processDefinitionKey disappears in query service after resuming a process instance previously suspended.\r\nWhen suspended, the instance still keeps the field:\r\n![image](https://user-images.githubusercontent.com/32025234/50481314-1b310600-09e1-11e9-8116-6b13598eb041.png)\r\nWhen resumed, the field is gone:\r\n![image](https://user-images.githubusercontent.com/32025234/50481332-33088a00-09e1-11e9-8336-fb9dd8ed1999.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Activiti/Activiti/issues/comments/451087498","html_url":"https://github.com/Activiti/Activiti/issues/2318#issuecomment-451087498","issue_url":"https://api.github.com/repos/Activiti/Activiti/issues/2318","id":451087498,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTA4NzQ5OA==","user":{"login":"CTI777","id":21080352,"node_id":"MDQ6VXNlcjIxMDgwMzUy","avatar_url":"https://avatars1.githubusercontent.com/u/21080352?v=4","gravatar_id":"","url":"https://api.github.com/users/CTI777","html_url":"https://github.com/CTI777","followers_url":"https://api.github.com/users/CTI777/followers","following_url":"https://api.github.com/users/CTI777/following{/other_user}","gists_url":"https://api.github.com/users/CTI777/gists{/gist_id}","starred_url":"https://api.github.com/users/CTI777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTI777/subscriptions","organizations_url":"https://api.github.com/users/CTI777/orgs","repos_url":"https://api.github.com/users/CTI777/repos","events_url":"https://api.github.com/users/CTI777/events{/privacy}","received_events_url":"https://api.github.com/users/CTI777/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T09:09:29Z","updated_at":"2019-01-03T09:09:29Z","author_association":"CONTRIBUTOR","body":"Currently it seems that all events related to process, except of create an start should have processDefinitionKey = null\r\nIn this class org.activiti.engine.impl.cmd.AbstractSetProcessInstanceStateCmd Execute method is called, and it returns object where everything is null\r\nExecutionEntity executionEntity = commandContext.getExecutionEntityManager().findById(processInstanceId);\r\n\r\nThis can be used for tests...\r\npublic class ExecutionEventsTest extends PluggableActivitiTestCase"}}
{"actor":{"display_login":"CTI777"}}