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

Wrong ezurl behavior in ESI

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2014.07, 5.3.3
    • Platform stack

    Description

      You can do the following step to reproduce with the following config.

      ezpublish:
          siteaccess:
              match:
                  Compound\LogicalAnd:
                      - matchers:
                              Map\Host:
                                  www.host.com: true
                              Map\URI:
                                  ww: true
                          match: siteaccess_ww
      

      1°/ include a legacy template in a twig one :

      {% include "design:legacy.tpl" %}

      2°/ load this template through a sub-request with strategy ESI
      3°/ use ezurl in the legacy template

      The url generated by the template operator ezurl should be prefixed by /ww, but they are not.

      If you change the matching to URIElement, the generated url are fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            8bc12bd8-4b86-4b97-8f96-13978c04c7fa@accounts.ibexa.co Jérémy Poulain
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: