{"action":"closed","issue":{"url":"https://api.github.com/repos/opencfp/opencfp/issues/1128","repository_url":"https://api.github.com/repos/opencfp/opencfp","labels_url":"https://api.github.com/repos/opencfp/opencfp/issues/1128/labels{/name}","comments_url":"https://api.github.com/repos/opencfp/opencfp/issues/1128/comments","events_url":"https://api.github.com/repos/opencfp/opencfp/issues/1128/events","html_url":"https://github.com/opencfp/opencfp/issues/1128","id":312018398,"number":1128,"title":"`server:start` Command does not work (It has no constructor arguments)","user":{"login":"kolibri","id":832452,"avatar_url":"https://avatars3.githubusercontent.com/u/832452?v=4","gravatar_id":"","url":"https://api.github.com/users/kolibri","html_url":"https://github.com/kolibri","followers_url":"https://api.github.com/users/kolibri/followers","following_url":"https://api.github.com/users/kolibri/following{/other_user}","gists_url":"https://api.github.com/users/kolibri/gists{/gist_id}","starred_url":"https://api.github.com/users/kolibri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolibri/subscriptions","organizations_url":"https://api.github.com/users/kolibri/orgs","repos_url":"https://api.github.com/users/kolibri/repos","events_url":"https://api.github.com/users/kolibri/events{/privacy}","received_events_url":"https://api.github.com/users/kolibri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-06T15:25:47Z","updated_at":"2018-05-03T01:56:57Z","closed_at":"2018-05-03T01:56:57Z","author_association":"NONE","body":"# Steps required to reproduce the problem\r\n\r\n```bash\r\n> git clone git@github.com:opencfp/opencfp.git\r\n> cd opencfp\r\n> ./script/setup\r\n> cp config/development.yml.dist config/development.yml\r\n> ./bin/console server:start\r\n# or\r\n> ./bin/console server:start --docroot=web --env=development\r\n```\r\n\r\n# Expected Result\r\n\r\nA running dev server ;)\r\n\r\n# Actual Result\r\n\r\n```bash\r\n> ./bin/console server:start\r\n\r\n[ERROR] The document root directory must be either passed as first argument of the constructor or through the \"docroot\" input option.\r\n\r\n# or \r\n\r\n> ./bin/console server:start --docroot=web --env=development\r\n\r\n [ERROR] The environment must be passed as second argument of the constructor.\r\n```\r\n\r\n\r\nI checked the constructor of the `\\Symfony\\Bundle\\WebServerBundle\\Command\\ServerStartCommand` and it is true, it is called without arguments. But every other code (service definitions, compiled container, `./bin/console debug:container --parameters`) shows the parameters, and that they are given to the Command.\r\nI have no clue, where are these arguments are lost.\r\n\r\nDid I miss something?\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"chartjes"}}