{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1748","repository_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1748/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1748/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1748/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1748","id":169450847,"number":1748,"title":"EZP-26154: ezplatform:install command is not siteaccess aware","user":{"login":"iosolinf","id":2154268,"avatar_url":"https://avatars.githubusercontent.com/u/2154268?v=3","gravatar_id":"","url":"https://api.github.com/users/iosolinf","html_url":"https://github.com/iosolinf","followers_url":"https://api.github.com/users/iosolinf/followers","following_url":"https://api.github.com/users/iosolinf/following{/other_user}","gists_url":"https://api.github.com/users/iosolinf/gists{/gist_id}","starred_url":"https://api.github.com/users/iosolinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iosolinf/subscriptions","organizations_url":"https://api.github.com/users/iosolinf/orgs","repos_url":"https://api.github.com/users/iosolinf/repos","events_url":"https://api.github.com/users/iosolinf/events{/privacy}","received_events_url":"https://api.github.com/users/iosolinf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T19:11:01Z","updated_at":"2016-08-05T08:27:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1748","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1748","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1748.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1748.patch"},"body":"In order to select active database, both SiteAccess and doctrine.dbal database list were injected into service"},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/237787312","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1748#issuecomment-237787312","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1748","id":237787312,"user":{"login":"iosolinf","id":2154268,"avatar_url":"https://avatars.githubusercontent.com/u/2154268?v=3","gravatar_id":"","url":"https://api.github.com/users/iosolinf","html_url":"https://github.com/iosolinf","followers_url":"https://api.github.com/users/iosolinf/followers","following_url":"https://api.github.com/users/iosolinf/following{/other_user}","gists_url":"https://api.github.com/users/iosolinf/gists{/gist_id}","starred_url":"https://api.github.com/users/iosolinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iosolinf/subscriptions","organizations_url":"https://api.github.com/users/iosolinf/orgs","repos_url":"https://api.github.com/users/iosolinf/repos","events_url":"https://api.github.com/users/iosolinf/events{/privacy}","received_events_url":"https://api.github.com/users/iosolinf/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T08:27:35Z","updated_at":"2016-08-05T08:27:35Z","body":":) That would had been too easy, I'm afraid...\r\n\r\nhttps://doc.ez.no/display/DEVELOPER/SiteAccess#SiteAccess-Limitations includes the following:\r\n_Injecting dynamic settings in request listeners is not recommended, as it won't be resolved with the correct scope (request listeners are instantiated before SiteAccess match). Workaround is to inject the ConfigResolver instead, and resolving the setting in your onKernelRequest method (or equivalent)._\r\n\r\nIn constructor the siteaccess is always undefined. "}}
{"actor":{"display_login":"iosolinf"}}