[Zope-CMF] CMF Collector: Open Issues

2006-10-11 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open jens - "CachingPolicyManager: Support OFS.Cache.CacheManager", [Accepted] http://www.zope.org/Collectors/CMF/408 mhammond - "Windows Developm

[Zope-CMF] CachingPolicyManager

2006-10-11 Thread Miles Waller
Hi, I'm trying to investigate a problem where the CPM is adding cache headers to a response for the wrong object. I can reproduce it in plain CMF as follows: 1. Add two filesystem zpts: output_page_1: == test page Here is the title output_page_2: == Here i

Re: [Zope-CMF] CachingPolicyManager

2006-10-11 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. Add two filesystem zpts: output_page_1: == test page Here is the title output_page_2: == Here is the subtitle from template 2 2. Add a rule to the cpm as follows: id: "template_test" predicate: view.endswith(

Re: [Zope-CMF] CachingPolicyManager

2006-10-11 Thread Dieter Maurer
Miles Waller wrote at 2006-10-11 16:34 +0100: > ... >output_page_2: >== >Here is the subtitle from template 2 > >2. Add a rule to the cpm as follows: > >id: "template_test" >predicate: view.endswith('_2') >etag: string:"template_test" > >3. Make a request for /output_page_1 > >4. Not

[Zope-CMF] Re: CachingPolicyManager

2006-10-11 Thread Miles Waller
My question is, does this count as a bug? I'm not sure this can be called a bug. It is true (and perfectly normal) that rendering a filesystem page template will always call the CPM. You're rendering both here. Since output_page_2 is rendered last as it's calles from output_page_1 the rul