Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
None
-
2011.10, 4.0.7, 4.5.0
-
None
Description
According to the public issue http://issues.ez.no/18586, in hostname sites, if you create or override an object content's template with the ezurl('','full') function, create a draft and preview's it in another site access like the Admin Control Panel, the preview will be cached with the unintended site access path even if this is the correct behavior of the function.
I think that it's important to add a warning to the documentation page indicating that this may happen.
This problem is generating some confusion among customers and community users.
Steps to reproduce
Using a hostnamed site, change or create a template for any object content with the ezurl('','full') function in it.
Go the Admin Control panel and create a draft for that object content.
Preview it.
Even after published, the content will have the wrong url until the cache is cleared.
Attachments
Issue Links
- relates to
-
EZP-18586 ezurl('','full') uses current $_SERVER['HTTP_POST'] for url generation
- Closed