{"action":"opened","issue":{"url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/460","labels_url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/460/comments","events_url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/460/events","html_url":"https://github.com/sonata-project/SonataPageBundle/issues/460","id":58586628,"number":460,"title":"update-core-routes command doesn't have template for creating page","user":{"login":"t3rmix","id":7287502,"avatar_url":"https://avatars.githubusercontent.com/u/7287502?v=3","gravatar_id":"","url":"https://api.github.com/users/t3rmix","html_url":"https://github.com/t3rmix","followers_url":"https://api.github.com/users/t3rmix/followers","following_url":"https://api.github.com/users/t3rmix/following{/other_user}","gists_url":"https://api.github.com/users/t3rmix/gists{/gist_id}","starred_url":"https://api.github.com/users/t3rmix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t3rmix/subscriptions","organizations_url":"https://api.github.com/users/t3rmix/orgs","repos_url":"https://api.github.com/users/t3rmix/repos","events_url":"https://api.github.com/users/t3rmix/events{/privacy}","received_events_url":"https://api.github.com/users/t3rmix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T13:42:22Z","updated_at":"2015-02-23T13:42:22Z","closed_at":null,"body":"I've noticed, that sonata:page:update-core-routes command is not possible to create a new page, after creating new route. \r\n\r\n```Integrity constraint violation: 1048 Column 'template' cannot be null ```\r\n\r\nThe reason is there: https://github.com/sonata-project/SonataPageBundle/blob/master/Resources/config/doctrine/BasePage.orm.xml#L30\r\n\r\nI don't find way how to tell the RoutePageGenerator class about the template for the route. How about to tell the route in defaults the right template?!"}}