First: This change makes nothing until https://github.com/doctrine/phpcr-odm/pull/261 merge.

I has strange exceptions during persist RouteAwarareInterface (Content) and Route.
<pre>
$content; // RouteAwareInterface
$this->dm->persist($content);

// onPrePersist generate routing for content
$route; // Route

$content->addRoute($route);
$route->setRouteContent($content);

</pre>

Causes "The name '' is no valid property name" exception: UnitOfWork (line: 2065) on flush

Am I doingi something wrong?