When trying to preview a content in pending/draft status, it raise an error saying that :
<code>An exception has been thrown during the rendering of a template ("When generating an UrlAlias route, either 'location' or 'locationId must be provided.") in eZDemoBundle::page_head.html.twig at line 21.
steps to reproduce:
- activate workflow Wait until date
- publish a content with a publish_date in the futur
- try to reach /content/versionview/#locID/1