{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments/24509510","id":24509510,"diff_hunk":"@@ -0,0 +1,37 @@\n+<?php\n+/**\n+ * File containing the IndexRequestListener class.\n+ *\n+ * @copyright Copyright (C) eZ Systems AS. All rights reserved.\n+ * @license For full copyright and license information view LICENSE file distributed with this source code.\n+ * @version //autogentag//\n+ */\n+\n+namespace eZ\\Bundle\\EzPublishLegacyBundle\\EventListener;\n+\n+use eZ\\Bundle\\EzPublishCoreBundle\\EventListener\\IndexRequestListener as CoreIndexListener;\n+use eZ\\Publish\\Core\\MVC\\ConfigResolverInterface;\n+use Symfony\\Component\\HttpKernel\\KernelEvents;\n+use Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent;\n+use Symfony\\Component\\DependencyInjection\\ContainerAware;\n+use Symfony\\Component\\EventDispatcher\\EventSubscriberInterface;\n+use Psr\\Log\\LoggerInterface;","path":"bundle/EventListener/IndexRequestListener.php","position":18,"original_position":18,"commit_id":"93c021544da1b6170a503349a5efdbac5a26c245","original_commit_id":"93c021544da1b6170a503349a5efdbac5a26c245","user":{"login":"yannickroger","id":4035241,"avatar_url":"https://avatars.githubusercontent.com/u/4035241?v=3","gravatar_id":"","url":"https://api.github.com/users/yannickroger","html_url":"https://github.com/yannickroger","followers_url":"https://api.github.com/users/yannickroger/followers","following_url":"https://api.github.com/users/yannickroger/following{/other_user}","gists_url":"https://api.github.com/users/yannickroger/gists{/gist_id}","starred_url":"https://api.github.com/users/yannickroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannickroger/subscriptions","organizations_url":"https://api.github.com/users/yannickroger/orgs","repos_url":"https://api.github.com/users/yannickroger/repos","events_url":"https://api.github.com/users/yannickroger/events{/privacy}","received_events_url":"https://api.github.com/users/yannickroger/received_events","type":"User","site_admin":false},"body":"```\r\nuse eZ\\Publish\\Core\\MVC\\ConfigResolverInterface;\r\nuse Symfony\\Component\\HttpKernel\\KernelEvents;\r\nuse Symfony\\Component\\DependencyInjection\\ContainerAware;\r\nuse Symfony\\Component\\EventDispatcher\\EventSubscriberInterface;\r\nuse Psr\\Log\\LoggerInterface;\r\nuse Symfony\\Component\\Routing\\RouterInterface;\r\n```","created_at":"2015-02-11T16:38:24Z","updated_at":"2015-02-11T16:38:24Z","html_url":"https://github.com/ezsystems/LegacyBridge/pull/10#discussion_r24509510","pull_request_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments/24509510"},"html":{"href":"https://github.com/ezsystems/LegacyBridge/pull/10#discussion_r24509510"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10","id":29085872,"html_url":"https://github.com/ezsystems/LegacyBridge/pull/10","diff_url":"https://github.com/ezsystems/LegacyBridge/pull/10.diff","patch_url":"https://github.com/ezsystems/LegacyBridge/pull/10.patch","issue_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/10","number":10,"state":"open","locked":false,"title":"Fix EZP-23978: Don't forward on index request when in legacy_mode","user":{"login":"joaoinacio","id":1168342,"avatar_url":"https://avatars.githubusercontent.com/u/1168342?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoinacio","html_url":"https://github.com/joaoinacio","followers_url":"https://api.github.com/users/joaoinacio/followers","following_url":"https://api.github.com/users/joaoinacio/following{/other_user}","gists_url":"https://api.github.com/users/joaoinacio/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoinacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoinacio/subscriptions","organizations_url":"https://api.github.com/users/joaoinacio/orgs","repos_url":"https://api.github.com/users/joaoinacio/repos","events_url":"https://api.github.com/users/joaoinacio/events{/privacy}","received_events_url":"https://api.github.com/users/joaoinacio/received_events","type":"User","site_admin":false},"body":"JIRA: https://jira.ez.no/browse/EZP-23978\r\n\r\nOverride IndexRequest listener, do not forward request when in legacy mode.\r\n\r\nDepends on https://github.com/ezsystems/ezpublish-kernel/pull/1187","created_at":"2015-02-11T12:05:38Z","updated_at":"2015-02-11T16:38:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6066e5a2c06787e9a2e565665dd1da45af165203","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/10/comments","statuses_url":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/93c021544da1b6170a503349a5efdbac5a26c245","head":{"label":"joaoinacio:EZP-23978_legacy_index","ref":"EZP-23978_legacy_index","sha":"93c021544da1b6170a503349a5efdbac5a26c245","user":{"login":"joaoinacio","id":1168342,"avatar_url":"https://avatars.githubusercontent.com/u/1168342?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoinacio","html_url":"https://github.com/joaoinacio","followers_url":"https://api.github.com/users/joaoinacio/followers","following_url":"https://api.github.com/users/joaoinacio/following{/other_user}","gists_url":"https://api.github.com/users/joaoinacio/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoinacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoinacio/subscriptions","organizations_url":"https://api.github.com/users/joaoinacio/orgs","repos_url":"https://api.github.com/users/joaoinacio/repos","events_url":"https://api.github.com/users/joaoinacio/events{/privacy}","received_events_url":"https://api.github.com/users/joaoinacio/received_events","type":"User","site_admin":false},"repo":{"id":30248682,"name":"LegacyBridge","full_name":"joaoinacio/LegacyBridge","owner":{"login":"joaoinacio","id":1168342,"avatar_url":"https://avatars.githubusercontent.com/u/1168342?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoinacio","html_url":"https://github.com/joaoinacio","followers_url":"https://api.github.com/users/joaoinacio/followers","following_url":"https://api.github.com/users/joaoinacio/following{/other_user}","gists_url":"https://api.github.com/users/joaoinacio/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoinacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoinacio/subscriptions","organizations_url":"https://api.github.com/users/joaoinacio/orgs","repos_url":"https://api.github.com/users/joaoinacio/repos","events_url":"https://api.github.com/users/joaoinacio/events{/privacy}","received_events_url":"https://api.github.com/users/joaoinacio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joaoinacio/LegacyBridge","description":"eZ Platform bridge to eZ Publish Legacy","fork":true,"url":"https://api.github.com/repos/joaoinacio/LegacyBridge","forks_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/forks","keys_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/teams","hooks_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/hooks","issue_events_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/issues/events{/number}","events_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/events","assignees_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/assignees{/user}","branches_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/branches{/branch}","tags_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/tags","blobs_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/statuses/{sha}","languages_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/languages","stargazers_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/stargazers","contributors_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/contributors","subscribers_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/subscribers","subscription_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/subscription","commits_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/issues/comments/{number}","contents_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/contents/{+path}","compare_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/merges","archive_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/downloads","issues_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/issues{/number}","pulls_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/pulls{/number}","milestones_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/milestones{/number}","notifications_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/labels{/name}","releases_url":"https://api.github.com/repos/joaoinacio/LegacyBridge/releases{/id}","created_at":"2015-02-03T15:11:35Z","updated_at":"2015-02-03T15:11:36Z","pushed_at":"2015-02-11T13:21:45Z","git_url":"git://github.com/joaoinacio/LegacyBridge.git","ssh_url":"git@github.com:joaoinacio/LegacyBridge.git","clone_url":"https://github.com/joaoinacio/LegacyBridge.git","svn_url":"https://github.com/joaoinacio/LegacyBridge","homepage":null,"size":870,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"ezsystems:master","ref":"master","sha":"5186a7413d72ed93a10d6aa0a0ba24ddf628fc4e","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","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":29585452,"name":"LegacyBridge","full_name":"ezsystems/LegacyBridge","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","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/LegacyBridge","description":"eZ Platform bridge to eZ Publish Legacy","fork":false,"url":"https://api.github.com/repos/ezsystems/LegacyBridge","forks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/forks","keys_url":"https://api.github.com/repos/ezsystems/LegacyBridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/LegacyBridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/LegacyBridge/teams","hooks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/events","assignees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/LegacyBridge/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/tags","blobs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/LegacyBridge/languages","stargazers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscription","commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/comments/{number}","contents_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/LegacyBridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/LegacyBridge/merges","archive_url":"https://api.github.com/repos/ezsystems/LegacyBridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/LegacyBridge/downloads","issues_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/LegacyBridge/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/LegacyBridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/LegacyBridge/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/LegacyBridge/releases{/id}","created_at":"2015-01-21T10:54:07Z","updated_at":"2015-02-10T08:20:22Z","pushed_at":"2015-02-10T08:20:24Z","git_url":"git://github.com/ezsystems/LegacyBridge.git","ssh_url":"git@github.com:ezsystems/LegacyBridge.git","clone_url":"https://github.com/ezsystems/LegacyBridge.git","svn_url":"https://github.com/ezsystems/LegacyBridge","homepage":null,"size":1223,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10"},"html":{"href":"https://github.com/ezsystems/LegacyBridge/pull/10"},"issue":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/10"},"comments":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/93c021544da1b6170a503349a5efdbac5a26c245"}}}}