sonata-project/SonataPageBundle — pull request #122 by kibao (2012-09-20 10:39:17+00:00)
Title: Fix.save page.parent troubles

On saving new page there isn't passed Site object to PageSelectorType, so parent page choices are always empty.
When selected parent page isn't null then form field throws error.
So only posibility is to create new page without parent.

In master branch saving new page doesn't work because of setting slug to null for page without parent in [PageManager](https://github.com/sonata-project/SonataPageBundle/blob/master/Entity/PageManager.php#L110) and form throws

> The URL /' is already associated with another page