Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22732

Previewing a pending/draft content cause error linked to canonical link inserted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.3-dev
    • Fix Version/s: 5.3
    • Component/s: DemoBundle
    • Labels:
      None

      Description

      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.
      </code>

      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

      Introduced in EZP-22610

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Florent.Huck-obsolete@ez.no Florent Huck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: