ezsystems/PlatformUIBundle — pull request #137 by dpobel (2014-12-05 15:19:13+00:00)
Title: Fix EZP-23750: Impossible to edit any content after creating a new one

JIRA: https://jira.ez.no/browse/EZP-23750

# Description

This patch fixes a quite annoying issue where it becomes impossible to edit anything after creating a new content. This happens because the create and edit route use the view and the view service is only stored in the view info. As a result, as soon you create content, the content edit view service is never instantiated. (The same probably happens in the other way, edit then create).

The patch makes sure the view service instance is stored in the route object and then this one is reused and put in the view infos.

# Tests

manual test + unit tests