{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments/175081818","pull_request_review_id":104555700,"id":175081818,"diff_hunk":"@@ -46,7 +48,19 @@ public function __construct(\n      *\n      * @return \\EzSystems\\RepositoryForms\\Content\\View\\ContentCreateView|\\Symfony\\Component\\HttpFoundation\\Response","path":"bundle/Controller/ContentEditController.php","position":12,"original_position":12,"commit_id":"a4b2022eb6c75c70d690d636d71a5f83a1fa20aa","original_commit_id":"a4b2022eb6c75c70d690d636d71a5f83a1fa20aa","user":{"login":"ViniTou","id":19517274,"avatar_url":"https://avatars1.githubusercontent.com/u/19517274?v=4","gravatar_id":"","url":"https://api.github.com/users/ViniTou","html_url":"https://github.com/ViniTou","followers_url":"https://api.github.com/users/ViniTou/followers","following_url":"https://api.github.com/users/ViniTou/following{/other_user}","gists_url":"https://api.github.com/users/ViniTou/gists{/gist_id}","starred_url":"https://api.github.com/users/ViniTou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViniTou/subscriptions","organizations_url":"https://api.github.com/users/ViniTou/orgs","repos_url":"https://api.github.com/users/ViniTou/repos","events_url":"https://api.github.com/users/ViniTou/events{/privacy}","received_events_url":"https://api.github.com/users/ViniTou/received_events","type":"User","site_admin":false},"body":"Not my point :)","created_at":"2018-03-16T13:01:34Z","updated_at":"2018-03-16T13:01:34Z","html_url":"https://github.com/ezsystems/repository-forms/pull/223#discussion_r175081818","pull_request_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments/175081818"},"html":{"href":"https://github.com/ezsystems/repository-forms/pull/223#discussion_r175081818"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223"}},"in_reply_to_id":174823407},"pull_request":{"url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223","id":175284414,"html_url":"https://github.com/ezsystems/repository-forms/pull/223","diff_url":"https://github.com/ezsystems/repository-forms/pull/223.diff","patch_url":"https://github.com/ezsystems/repository-forms/pull/223.patch","issue_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/223","number":223,"state":"open","locked":false,"title":"EZP-28944: ISE 500 when deleting Draft","user":{"login":"webhdx","id":10212760,"avatar_url":"https://avatars3.githubusercontent.com/u/10212760?v=4","gravatar_id":"","url":"https://api.github.com/users/webhdx","html_url":"https://github.com/webhdx","followers_url":"https://api.github.com/users/webhdx/followers","following_url":"https://api.github.com/users/webhdx/following{/other_user}","gists_url":"https://api.github.com/users/webhdx/gists{/gist_id}","starred_url":"https://api.github.com/users/webhdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhdx/subscriptions","organizations_url":"https://api.github.com/users/webhdx/orgs","repos_url":"https://api.github.com/users/webhdx/repos","events_url":"https://api.github.com/users/webhdx/events{/privacy}","received_events_url":"https://api.github.com/users/webhdx/received_events","type":"User","site_admin":false},"body":"> JIRA: https://jira.ez.no/browse/EZP-28944\r\n\r\n# Description\r\nNot the solution I'd like to have but I couldn't find any better way to solve the issue. You are expected to return `View` object from the builder where currently we are handling forms. It's not possible to return `RedirectResponse` directly which is the outcome from the `FormProcessors`. I had to hack it a little to encapsulate Response inside `ContentEditSuccessView` and `ContentCreateSuccessView` which is later picked up by `ViewTemplateListener` which is properly handling the Response. Benefit to this resolution is that you can catch the view and render the template if needed.\r\n\r\nIf anyone has better idea please let me know.\r\n\r\n# QA\r\nTest create and edit functionalities.","created_at":"2018-03-15T15:18:17Z","updated_at":"2018-03-16T13:01:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdffc14038a901a819ce241c4311209a930126bf","assignee":{"login":"webhdx","id":10212760,"avatar_url":"https://avatars3.githubusercontent.com/u/10212760?v=4","gravatar_id":"","url":"https://api.github.com/users/webhdx","html_url":"https://github.com/webhdx","followers_url":"https://api.github.com/users/webhdx/followers","following_url":"https://api.github.com/users/webhdx/following{/other_user}","gists_url":"https://api.github.com/users/webhdx/gists{/gist_id}","starred_url":"https://api.github.com/users/webhdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhdx/subscriptions","organizations_url":"https://api.github.com/users/webhdx/orgs","repos_url":"https://api.github.com/users/webhdx/repos","events_url":"https://api.github.com/users/webhdx/events{/privacy}","received_events_url":"https://api.github.com/users/webhdx/received_events","type":"User","site_admin":false},"assignees":[{"login":"webhdx","id":10212760,"avatar_url":"https://avatars3.githubusercontent.com/u/10212760?v=4","gravatar_id":"","url":"https://api.github.com/users/webhdx","html_url":"https://github.com/webhdx","followers_url":"https://api.github.com/users/webhdx/followers","following_url":"https://api.github.com/users/webhdx/following{/other_user}","gists_url":"https://api.github.com/users/webhdx/gists{/gist_id}","starred_url":"https://api.github.com/users/webhdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhdx/subscriptions","organizations_url":"https://api.github.com/users/webhdx/orgs","repos_url":"https://api.github.com/users/webhdx/repos","events_url":"https://api.github.com/users/webhdx/events{/privacy}","received_events_url":"https://api.github.com/users/webhdx/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":203258116,"url":"https://api.github.com/repos/ezsystems/repository-forms/labels/bug","name":"bug","color":"fc2929","default":true},{"id":868020150,"url":"https://api.github.com/repos/ezsystems/repository-forms/labels/ready%20for%20QA","name":"ready for QA","color":"a7d852","default":false},{"id":868020056,"url":"https://api.github.com/repos/ezsystems/repository-forms/labels/ready%20for%20review","name":"ready for review","color":"693dce","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223/commits","review_comments_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223/comments","review_comment_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/223/comments","statuses_url":"https://api.github.com/repos/ezsystems/repository-forms/statuses/a4b2022eb6c75c70d690d636d71a5f83a1fa20aa","head":{"label":"webhdx:EZP-28944_500_draft_delete","ref":"EZP-28944_500_draft_delete","sha":"a4b2022eb6c75c70d690d636d71a5f83a1fa20aa","user":{"login":"webhdx","id":10212760,"avatar_url":"https://avatars3.githubusercontent.com/u/10212760?v=4","gravatar_id":"","url":"https://api.github.com/users/webhdx","html_url":"https://github.com/webhdx","followers_url":"https://api.github.com/users/webhdx/followers","following_url":"https://api.github.com/users/webhdx/following{/other_user}","gists_url":"https://api.github.com/users/webhdx/gists{/gist_id}","starred_url":"https://api.github.com/users/webhdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhdx/subscriptions","organizations_url":"https://api.github.com/users/webhdx/orgs","repos_url":"https://api.github.com/users/webhdx/repos","events_url":"https://api.github.com/users/webhdx/events{/privacy}","received_events_url":"https://api.github.com/users/webhdx/received_events","type":"User","site_admin":false},"repo":{"id":97107928,"name":"repository-forms","full_name":"webhdx/repository-forms","owner":{"login":"webhdx","id":10212760,"avatar_url":"https://avatars3.githubusercontent.com/u/10212760?v=4","gravatar_id":"","url":"https://api.github.com/users/webhdx","html_url":"https://github.com/webhdx","followers_url":"https://api.github.com/users/webhdx/followers","following_url":"https://api.github.com/users/webhdx/following{/other_user}","gists_url":"https://api.github.com/users/webhdx/gists{/gist_id}","starred_url":"https://api.github.com/users/webhdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhdx/subscriptions","organizations_url":"https://api.github.com/users/webhdx/orgs","repos_url":"https://api.github.com/users/webhdx/repos","events_url":"https://api.github.com/users/webhdx/events{/privacy}","received_events_url":"https://api.github.com/users/webhdx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/webhdx/repository-forms","description":null,"fork":true,"url":"https://api.github.com/repos/webhdx/repository-forms","forks_url":"https://api.github.com/repos/webhdx/repository-forms/forks","keys_url":"https://api.github.com/repos/webhdx/repository-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webhdx/repository-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webhdx/repository-forms/teams","hooks_url":"https://api.github.com/repos/webhdx/repository-forms/hooks","issue_events_url":"https://api.github.com/repos/webhdx/repository-forms/issues/events{/number}","events_url":"https://api.github.com/repos/webhdx/repository-forms/events","assignees_url":"https://api.github.com/repos/webhdx/repository-forms/assignees{/user}","branches_url":"https://api.github.com/repos/webhdx/repository-forms/branches{/branch}","tags_url":"https://api.github.com/repos/webhdx/repository-forms/tags","blobs_url":"https://api.github.com/repos/webhdx/repository-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webhdx/repository-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webhdx/repository-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/webhdx/repository-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webhdx/repository-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/webhdx/repository-forms/languages","stargazers_url":"https://api.github.com/repos/webhdx/repository-forms/stargazers","contributors_url":"https://api.github.com/repos/webhdx/repository-forms/contributors","subscribers_url":"https://api.github.com/repos/webhdx/repository-forms/subscribers","subscription_url":"https://api.github.com/repos/webhdx/repository-forms/subscription","commits_url":"https://api.github.com/repos/webhdx/repository-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/webhdx/repository-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/webhdx/repository-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/webhdx/repository-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/webhdx/repository-forms/contents/{+path}","compare_url":"https://api.github.com/repos/webhdx/repository-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webhdx/repository-forms/merges","archive_url":"https://api.github.com/repos/webhdx/repository-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webhdx/repository-forms/downloads","issues_url":"https://api.github.com/repos/webhdx/repository-forms/issues{/number}","pulls_url":"https://api.github.com/repos/webhdx/repository-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/webhdx/repository-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/webhdx/repository-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webhdx/repository-forms/labels{/name}","releases_url":"https://api.github.com/repos/webhdx/repository-forms/releases{/id}","deployments_url":"https://api.github.com/repos/webhdx/repository-forms/deployments","created_at":"2017-07-13T09:57:33Z","updated_at":"2017-07-13T09:57:35Z","pushed_at":"2018-03-15T15:14:25Z","git_url":"git://github.com/webhdx/repository-forms.git","ssh_url":"git@github.com:webhdx/repository-forms.git","clone_url":"https://github.com/webhdx/repository-forms.git","svn_url":"https://github.com/webhdx/repository-forms","homepage":null,"size":1020,"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":"b62494bfd2da86e6a468e644783c56889997c17c","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":34457958,"name":"repository-forms","full_name":"ezsystems/repository-forms","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/repository-forms","description":null,"fork":false,"url":"https://api.github.com/repos/ezsystems/repository-forms","forks_url":"https://api.github.com/repos/ezsystems/repository-forms/forks","keys_url":"https://api.github.com/repos/ezsystems/repository-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/repository-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/repository-forms/teams","hooks_url":"https://api.github.com/repos/ezsystems/repository-forms/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/repository-forms/events","assignees_url":"https://api.github.com/repos/ezsystems/repository-forms/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/repository-forms/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/repository-forms/tags","blobs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/repository-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/repository-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/repository-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/repository-forms/languages","stargazers_url":"https://api.github.com/repos/ezsystems/repository-forms/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/repository-forms/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/repository-forms/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/repository-forms/subscription","commits_url":"https://api.github.com/repos/ezsystems/repository-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/repository-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/repository-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/repository-forms/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/repository-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/repository-forms/merges","archive_url":"https://api.github.com/repos/ezsystems/repository-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/repository-forms/downloads","issues_url":"https://api.github.com/repos/ezsystems/repository-forms/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/repository-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/repository-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/repository-forms/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/repository-forms/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/repository-forms/deployments","created_at":"2015-04-23T13:30:07Z","updated_at":"2018-03-14T16:51:54Z","pushed_at":"2018-03-16T13:00:43Z","git_url":"git://github.com/ezsystems/repository-forms.git","ssh_url":"git@github.com:ezsystems/repository-forms.git","clone_url":"https://github.com/ezsystems/repository-forms.git","svn_url":"https://github.com/ezsystems/repository-forms","homepage":null,"size":990,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":5,"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":25,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223"},"html":{"href":"https://github.com/ezsystems/repository-forms/pull/223"},"issue":{"href":"https://api.github.com/repos/ezsystems/repository-forms/issues/223"},"comments":{"href":"https://api.github.com/repos/ezsystems/repository-forms/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/repository-forms/statuses/a4b2022eb6c75c70d690d636d71a5f83a1fa20aa"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ViniTou"}}