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

    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.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment - - edited

          ezsystems/ezpublish-kernel#1646 merged to 581b00d (v6.3.1 and v6.4.0).

          Show
          Bertrand Dunogier added a comment - - edited ezsystems/ezpublish-kernel#1646 merged to 581b00d (v6.3.1 and v6.4.0).
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for 16.04.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for 16.04.

            People

            • Assignee:
              Unassigned
              Reporter:
              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