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

ezurl function documentation update (warning about object content's preview)

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 2011.10, 4.0.7, 4.5.0
    • Documentation
    • 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

        Activity

          People

            Unassigned Unassigned
            edf@ez.no edf@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: