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

Cache for reverse related objects is not cleared if the objects have relations of the XML linked type

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.1, 3.9.5
    • 3.10.0, 3.9.4
    • Caching
    • None
    • Operating System: Linux RHEL 4
      PHP Version: 4.4.4
      Database and version: MySQL 4.1
      Web server: Apache 2.0

    Description

      Steps to reproduce

      1) Fresh installation of eZPublish 3.9.4 or 3.10.0
      2) Set in the [ContentSettings] of site.ini the following directive (in 3.9.4 you have ViewCaching disabled by default) for all siteaccesses:

      ViewCaching=enabled
      

      3) Set in the [ViewCacheSettings] of viewcache.ini the following directive:
      ClearRelationTypes[]=reverse_linked
      4) Create a new object (for example, a link object) into the Media Library. Suppose the link object has object-id 50. Name it "xyz".
      5) Create a new folder in the "Content Structure", edit it and write the following code in the description field (OE disabled):

      <link href="ezobject://50">my description</link>
      

      6) Go to the public site at the new folder page; look at the last word in the URL of "my description": you can view "xyz"
      7) Now, modify the name of the "xyz" link object to "abc".
      8) Return to the public site and refresh the new folder page. You can view the cache is NOT cleared (in fact URL of "my description" has still "xyz" and not "abc").

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            carmiano carmiano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: