{"action":"opened","number":2279,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279","id":175293483,"html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/2279","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/2279.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/2279.patch","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/2279","number":2279,"state":"open","locked":false,"title":"[WiP] EZP-28902: Creating a user with existing username results in Internal Server Error.","user":{"login":"mikadamczyk","id":1654712,"avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"body":"| Question           | Answer\r\n| ------------------ | ------------------\r\n| **JIRA issue**     | [EZP-28902](https://jira.ez.no/browse/EZP-28902)\r\n| **Improvement**| yes\r\n| **New feature**    |no\r\n| **Target version** | `master`\r\n| **BC breaks**      |no\r\n| **Tests pass**     | yes\r\n| **Doc needed**     |no\r\n\r\n<img width=\"1291\" alt=\"screen shot 2018-03-15 at 11 27 45 am\" src=\"https://user-images.githubusercontent.com/1654712/37474187-0ccc4ff0-2870-11e8-9f13-d678aa1df090.png\">\r\n\r\n\r\n**TODO**:\r\n- [x] Implement feature / fix a bug.\r\n- [x] Implement tests.\r\n- [x] Fix new code according to Coding Standards (`$ composer fix-cs`).\r\n- [x] Ask for Code Review.\r\n","created_at":"2018-03-15T15:45:03Z","updated_at":"2018-03-15T15:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"mikadamczyk","id":1654712,"avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikadamczyk","id":1654712,"avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279/commits","review_comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279/comments","review_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/2279/comments","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/7bed5259a8fb5715ca5501b9d05b0199f20a74e5","head":{"label":"mikadamczyk:ezp-28902-creating-a-user-with-existing-username-results-in-Internal-server-error","ref":"ezp-28902-creating-a-user-with-existing-username-results-in-Internal-server-error","sha":"7bed5259a8fb5715ca5501b9d05b0199f20a74e5","user":{"login":"mikadamczyk","id":1654712,"avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"repo":{"id":118917080,"name":"ezpublish-kernel","full_name":"mikadamczyk/ezpublish-kernel","owner":{"login":"mikadamczyk","id":1654712,"avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikadamczyk/ezpublish-kernel","description":"Kernel (Repository, MVC layer, REST) for eZ Platform","fork":true,"url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel","forks_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/forks","keys_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/teams","hooks_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/hooks","issue_events_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/events","assignees_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/tags","blobs_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/languages","stargazers_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/stargazers","contributors_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/contributors","subscribers_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/subscribers","subscription_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/subscription","commits_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/merges","archive_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/downloads","issues_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/labels{/name}","releases_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/mikadamczyk/ezpublish-kernel/deployments","created_at":"2018-01-25T13:36:33Z","updated_at":"2018-01-25T13:36:43Z","pushed_at":"2018-03-15T15:39:46Z","git_url":"git://github.com/mikadamczyk/ezpublish-kernel.git","ssh_url":"git@github.com:mikadamczyk/ezpublish-kernel.git","clone_url":"https://github.com/mikadamczyk/ezpublish-kernel.git","svn_url":"https://github.com/mikadamczyk/ezpublish-kernel","homepage":"http://ezplatform.com/","size":50754,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"b18ea5d1087bf04e71e0ce39f135d5dacbac9dbc","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":1663890,"name":"ezpublish-kernel","full_name":"ezsystems/ezpublish-kernel","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/ezpublish-kernel","description":"Kernel (Repository, MVC layer, REST) for eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel","forks_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/forks","keys_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/teams","hooks_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/events","assignees_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/tags","blobs_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/languages","stargazers_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/subscription","commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/merges","archive_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/downloads","issues_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/deployments","created_at":"2011-04-26T08:54:24Z","updated_at":"2018-03-12T15:52:55Z","pushed_at":"2018-03-15T14:44:02Z","git_url":"git://github.com/ezsystems/ezpublish-kernel.git","ssh_url":"git@github.com:ezsystems/ezpublish-kernel.git","clone_url":"https://github.com/ezsystems/ezpublish-kernel.git","svn_url":"https://github.com/ezsystems/ezpublish-kernel","homepage":"http://ezplatform.com/","size":50835,"stargazers_count":137,"watchers_count":137,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":194,"mirror_url":null,"archived":false,"open_issues_count":78,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":194,"open_issues":78,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279"},"html":{"href":"https://github.com/ezsystems/ezpublish-kernel/pull/2279"},"issue":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/2279"},"comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/2279/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/2279/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/ezpublish-kernel/statuses/7bed5259a8fb5715ca5501b9d05b0199f20a74e5"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":56,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"mikadamczyk"}}