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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.3
    • 5.3-dev
    • DemoBundle
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: