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

subtree_expiry is using path_identification_string instead of url_alias

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.0.0
    • Caching, Documentation
    • None

    Description

      Hi,

      I've a cache-block in my pagelayout.tpl.

      I just wondered why I got the Message:

      Could not find path_string 'Site-settings/My-path' for 'subtree_expiry' node.

      Reason:
      The "path" for the subtree is searched in ezcontentobject_tree (path_identification_string) and not in the url_alias table.

      So, in my case, "site_settings/my_path" would have been found.

      This is very confusing for me because the new url_alias system is ignored. (And I only can find the path_identification_string in the database and not in the backend).

      But - the good news:
      You can also use a node_id for the subtree_expiry parameter instead of a path.
      The bad news: Thats not documented anywhere...

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            andre1 andre1
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: