{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments/70734724","id":70734724,"diff_hunk":"@@ -159,13 +159,14 @@ def check_not_in_personal_space(self, docs):\n         items if it can't remove it from the packages it belongs to.\n         \"\"\"\n         for doc in docs:\n-            if not doc.get('task') or not doc['task'].get('desk'):\n-                message = 'Packages can not be created in the personal space.'\n-                logger.error(message)\n-                raise SuperdeskApiError.forbiddenError(message=message)\n-            if not doc['task'].get('stage'):\n-                desk = get_resource_service('desks').find_one(req=None, _id=doc['task']['desk'])\n-                doc['task']['stage'] = desk['working_stage']\n+            if not doc.get('particular_type'):","path":"apps/packages/package_service.py","position":11,"original_position":11,"commit_id":"977376a2de647b1bb6a85e6aded6760173600f67","original_commit_id":"977376a2de647b1bb6a85e6aded6760173600f67","user":{"login":"mdhaman","id":2268727,"avatar_url":"https://avatars.githubusercontent.com/u/2268727?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhaman","html_url":"https://github.com/mdhaman","followers_url":"https://api.github.com/users/mdhaman/followers","following_url":"https://api.github.com/users/mdhaman/following{/other_user}","gists_url":"https://api.github.com/users/mdhaman/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhaman/subscriptions","organizations_url":"https://api.github.com/users/mdhaman/orgs","repos_url":"https://api.github.com/users/mdhaman/repos","events_url":"https://api.github.com/users/mdhaman/events{/privacy}","received_events_url":"https://api.github.com/users/mdhaman/received_events","type":"User","site_admin":false},"body":"where is the field `particular_type` defined?","created_at":"2016-07-14T01:02:54Z","updated_at":"2016-07-14T01:02:54Z","html_url":"https://github.com/superdesk/superdesk-core/pull/466#discussion_r70734724","pull_request_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments/70734724"},"html":{"href":"https://github.com/superdesk/superdesk-core/pull/466#discussion_r70734724"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466","id":77267057,"html_url":"https://github.com/superdesk/superdesk-core/pull/466","diff_url":"https://github.com/superdesk/superdesk-core/pull/466.diff","patch_url":"https://github.com/superdesk/superdesk-core/pull/466.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/466","number":466,"state":"open","locked":false,"title":"small changes needed by liveblog","user":{"login":"ancafarcas","id":6908520,"avatar_url":"https://avatars.githubusercontent.com/u/6908520?v=3","gravatar_id":"","url":"https://api.github.com/users/ancafarcas","html_url":"https://github.com/ancafarcas","followers_url":"https://api.github.com/users/ancafarcas/followers","following_url":"https://api.github.com/users/ancafarcas/following{/other_user}","gists_url":"https://api.github.com/users/ancafarcas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancafarcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancafarcas/subscriptions","organizations_url":"https://api.github.com/users/ancafarcas/orgs","repos_url":"https://api.github.com/users/ancafarcas/repos","events_url":"https://api.github.com/users/ancafarcas/events{/privacy}","received_events_url":"https://api.github.com/users/ancafarcas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-13T10:42:27Z","updated_at":"2016-07-14T01:02:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86dac31a75b2ca8a99efad23becf9b6497d30363","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/466/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk-core/statuses/977376a2de647b1bb6a85e6aded6760173600f67","head":{"label":"ancafarcas:fix/changes_for_liveblog","ref":"fix/changes_for_liveblog","sha":"977376a2de647b1bb6a85e6aded6760173600f67","user":{"login":"ancafarcas","id":6908520,"avatar_url":"https://avatars.githubusercontent.com/u/6908520?v=3","gravatar_id":"","url":"https://api.github.com/users/ancafarcas","html_url":"https://github.com/ancafarcas","followers_url":"https://api.github.com/users/ancafarcas/followers","following_url":"https://api.github.com/users/ancafarcas/following{/other_user}","gists_url":"https://api.github.com/users/ancafarcas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancafarcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancafarcas/subscriptions","organizations_url":"https://api.github.com/users/ancafarcas/orgs","repos_url":"https://api.github.com/users/ancafarcas/repos","events_url":"https://api.github.com/users/ancafarcas/events{/privacy}","received_events_url":"https://api.github.com/users/ancafarcas/received_events","type":"User","site_admin":false},"repo":{"id":63046800,"name":"superdesk-core","full_name":"ancafarcas/superdesk-core","owner":{"login":"ancafarcas","id":6908520,"avatar_url":"https://avatars.githubusercontent.com/u/6908520?v=3","gravatar_id":"","url":"https://api.github.com/users/ancafarcas","html_url":"https://github.com/ancafarcas","followers_url":"https://api.github.com/users/ancafarcas/followers","following_url":"https://api.github.com/users/ancafarcas/following{/other_user}","gists_url":"https://api.github.com/users/ancafarcas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancafarcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancafarcas/subscriptions","organizations_url":"https://api.github.com/users/ancafarcas/orgs","repos_url":"https://api.github.com/users/ancafarcas/repos","events_url":"https://api.github.com/users/ancafarcas/events{/privacy}","received_events_url":"https://api.github.com/users/ancafarcas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ancafarcas/superdesk-core","description":"our own sd-core from our main liveblog repo","fork":true,"url":"https://api.github.com/repos/ancafarcas/superdesk-core","forks_url":"https://api.github.com/repos/ancafarcas/superdesk-core/forks","keys_url":"https://api.github.com/repos/ancafarcas/superdesk-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ancafarcas/superdesk-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ancafarcas/superdesk-core/teams","hooks_url":"https://api.github.com/repos/ancafarcas/superdesk-core/hooks","issue_events_url":"https://api.github.com/repos/ancafarcas/superdesk-core/issues/events{/number}","events_url":"https://api.github.com/repos/ancafarcas/superdesk-core/events","assignees_url":"https://api.github.com/repos/ancafarcas/superdesk-core/assignees{/user}","branches_url":"https://api.github.com/repos/ancafarcas/superdesk-core/branches{/branch}","tags_url":"https://api.github.com/repos/ancafarcas/superdesk-core/tags","blobs_url":"https://api.github.com/repos/ancafarcas/superdesk-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ancafarcas/superdesk-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ancafarcas/superdesk-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ancafarcas/superdesk-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ancafarcas/superdesk-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ancafarcas/superdesk-core/languages","stargazers_url":"https://api.github.com/repos/ancafarcas/superdesk-core/stargazers","contributors_url":"https://api.github.com/repos/ancafarcas/superdesk-core/contributors","subscribers_url":"https://api.github.com/repos/ancafarcas/superdesk-core/subscribers","subscription_url":"https://api.github.com/repos/ancafarcas/superdesk-core/subscription","commits_url":"https://api.github.com/repos/ancafarcas/superdesk-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ancafarcas/superdesk-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ancafarcas/superdesk-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ancafarcas/superdesk-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ancafarcas/superdesk-core/contents/{+path}","compare_url":"https://api.github.com/repos/ancafarcas/superdesk-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ancafarcas/superdesk-core/merges","archive_url":"https://api.github.com/repos/ancafarcas/superdesk-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ancafarcas/superdesk-core/downloads","issues_url":"https://api.github.com/repos/ancafarcas/superdesk-core/issues{/number}","pulls_url":"https://api.github.com/repos/ancafarcas/superdesk-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ancafarcas/superdesk-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ancafarcas/superdesk-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ancafarcas/superdesk-core/labels{/name}","releases_url":"https://api.github.com/repos/ancafarcas/superdesk-core/releases{/id}","deployments_url":"https://api.github.com/repos/ancafarcas/superdesk-core/deployments","created_at":"2016-07-11T07:32:05Z","updated_at":"2016-07-11T07:33:13Z","pushed_at":"2016-07-13T11:27:39Z","git_url":"git://github.com/ancafarcas/superdesk-core.git","ssh_url":"git@github.com:ancafarcas/superdesk-core.git","clone_url":"https://github.com/ancafarcas/superdesk-core.git","svn_url":"https://github.com/ancafarcas/superdesk-core","homepage":"","size":8197,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"79022d78ab46949b99140447ae90a4e2cec26bed","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":41092776,"name":"superdesk-core","full_name":"superdesk/superdesk-core","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk-core","description":"common server modules for superdesk","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk-core","forks_url":"https://api.github.com/repos/superdesk/superdesk-core/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk-core/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk-core/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk-core/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk-core/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk-core/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk-core/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk-core/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk-core/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk-core/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk-core/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk-core/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk-core/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk-core/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk-core/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk-core/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk-core/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk-core/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk-core/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk-core/releases{/id}","deployments_url":"https://api.github.com/repos/superdesk/superdesk-core/deployments","created_at":"2015-08-20T11:46:19Z","updated_at":"2016-06-28T08:44:38Z","pushed_at":"2016-07-14T00:51:20Z","git_url":"git://github.com/superdesk/superdesk-core.git","ssh_url":"git@github.com:superdesk/superdesk-core.git","clone_url":"https://github.com/superdesk/superdesk-core.git","svn_url":"https://github.com/superdesk/superdesk-core","homepage":"","size":8279,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":9,"forks":25,"open_issues":9,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466"},"html":{"href":"https://github.com/superdesk/superdesk-core/pull/466"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk-core/issues/466"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk-core/issues/466/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/466/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk-core/statuses/977376a2de647b1bb6a85e6aded6760173600f67"}}}}
{"actor":{"display_login":"mdhaman"}}