Ticket #1767 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Cache invalidations: events path filtering should accept lack of leading slashes.

Reported by: gracinet Assigned to: jmorliaguet
Priority: P2 Milestone: CPS 3.4.3
Component: CPSPortlets Version: 3.4.0
Severity: normal Keywords: cache invalidation
Cc:

Description

Use-case:

In Content Portlet, events are filtered according to the folder_path field value. The latter doesn't have to start with a slash in order to perform searches correctly, but the lack of slash affects the invalidating events: they are ignored, because /the/current/path.startswith('the/current') == False. No problem with empty folder_path (all content portlets).

Took me a long while to figure out this when I encountered it.

Change History

10/23/06 14:00:56 changed by gracinet

  • status changed from new to closed.
  • resolution set to fixed.

Done in [49794]