Details
-
Bug
-
Resolution: Fixed
-
High
-
2014.07, 5.3.3, 2014.11, 5.4.1
-
None
Description
Consider we have 2 pages, page1 and page2. Both have the same footer which is generated using:
{{ render_esi( controller( "<controller>" )) }}
Calling page1 and page2 after a siteaccess (e.g. "example.com/eng/page1/" and "example.com/eng/page2/") will generate different fragment URIs.
Steps to reproduce:
1. Create a common block that will be used in 2 different pages;
2. Make a call to that block with: {{ render_esi( controller( "<controller>" )) }};
3. Call page 1: example.com/eng/page1/
GET /_fragment?_hash=iGReymaTGqldA%2F%2BFrsczq6Op5iA%3D&_path=serialized_siteaccess%3DO%253A38%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%2522%253A3%253A%257Bs%253A4%253A%2522name%2522%253Bs%253A3%253A%2522eng%2522%253Bs%253A12%253A%2522matchingType%2522%253Bs%253A11%253A%2522uri%253Aelement%2522%253Bs%253A7%253A%2522matcher%2522%253BO%253A57%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2522%253A2%253A%257Bs%253A66%253A%2522%2500eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2500request%2522%253BO%253A53%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CRouting%255CSimplifiedRequest%2522%253A7%253A%257Bs%253A9%253A%2522%2500%252A%2500scheme%2522%253Bs%253A4%253A%2522http%2522%253Bs%253A7%253A%2522%2500%252A%2500host%2522%253Bs%253A12%253A%252253ezdemo.com%2522%253Bs%253A7%253A%2522%2500%252A%2500port%2522%253Bi%253A80%253Bs%253A11%253A%2522%2500%252A%2500pathinfo%2522%253Bs%253A17%253A%2522%252Feng%252F13011%252Fpage1%252F%2522%253Bs%253A14%253A%2522%2500%252A%2500queryParams%2522%253Ba%253A0%253A%257B%257Ds%253A12%253A%2522%2500%252A%2500languages%2522%253Ba%253A3%253A%257Bi%253A0%253Bs%253A5%253A%2522en_US%2522%253Bi%253A1%253Bs%253A2%253A%2522en%2522%253Bi%253A2%253Bs%253A2%253A%2522pt%2522%253B%257Ds%253A10%253A%2522%2500%252A%2500headers%2522%253Ba%253A0%253A%257B%257D%257Ds%253A72%253A%2522%2500eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2500elementNumber%2522%253Bi%253A1%253B%257D%257D%26_format%3Dhtml%26_locale%3Den_GB%26_controller%3DNunoTestBundle%253AIssueTests%253Atestcontroller: fresh
4. Call page 2: example.com/eng/page2/
GET /_fragment?_hash=ckcHW6YM9%2BT3GRvY%2FdzUqi9lEfw%3D&_path=serialized_siteaccess%3DO%253A38%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%2522%253A3%253A%257Bs%253A4%253A%2522name%2522%253Bs%253A3%253A%2522eng%2522%253Bs%253A12%253A%2522matchingType%2522%253Bs%253A11%253A%2522uri%253Aelement%2522%253Bs%253A7%253A%2522matcher%2522%253BO%253A57%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2522%253A2%253A%257Bs%253A66%253A%2522%2500eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2500request%2522%253BO%253A53%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CRouting%255CSimplifiedRequest%2522%253A7%253A%257Bs%253A9%253A%2522%2500%252A%2500scheme%2522%253Bs%253A4%253A%2522http%2522%253Bs%253A7%253A%2522%2500%252A%2500host%2522%253Bs%253A12%253A%252253ezdemo.com%2522%253Bs%253A7%253A%2522%2500%252A%2500port%2522%253Bi%253A80%253Bs%253A11%253A%2522%2500%252A%2500pathinfo%2522%253Bs%253A17%253A%2522%252Feng%252F13011%252Fpage2%252F%2522%253Bs%253A14%253A%2522%2500%252A%2500queryParams%2522%253Ba%253A0%253A%257B%257Ds%253A12%253A%2522%2500%252A%2500languages%2522%253Ba%253A3%253A%257Bi%253A0%253Bs%253A5%253A%2522en_US%2522%253Bi%253A1%253Bs%253A2%253A%2522en%2522%253Bi%253A2%253Bs%253A2%253A%2522pt%2522%253B%257Ds%253A10%253A%2522%2500%252A%2500headers%2522%253Ba%253A0%253A%257B%257D%257Ds%253A72%253A%2522%2500eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%255CMatcher%255CURIElement%2500elementNumber%2522%253Bi%253A1%253B%257D%257D%26_format%3Dhtml%26_locale%3Den_GB%26_controller%3DNunoTestBundle%253AIssueTests%253Atestcontroller: fresh
This seems to be a regression from EZP-21695.