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

SPI Cache not fully updated when content is moved to trash

    XMLWordPrintable

Details

    Description

      It is not possible to access re-created content without clearing the cache manually.

      steps to reproduce
      • Using the Content tab
      • Create a folder, directly under your site's home. Name it "MyFolder"
      • Access MyFolder in the front end
      • Move MyFolder to trash
      • Create another folder, in the same location, also named "MyFolder"
      • Attempt to access MyFolder in the front end
        => You run into a "No route found" error

      If we inspect the Stash logs in SF profiler, we can verify that the Request Key ez_spi/urlAlias/url/MyFolder hits true and is followed by ez_spi/location/<trashed-object-location-id> query (which also hits true)

      Note: Manually clearing the cache seems to work as a workaround.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joaquim.cavalleri-obsolete@ez.no Joaquim Cavalleri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h