On Wednesday 13 September 2006 01:15, Jens Vagelpohl wrote:
If you could, please file a bug report at http://www.zope.org/
Collectors/CMF/. All that needs to be done is to override
index_html (which I believe was never done because the
implementation in OFS.File is quite a beast - it was much
On Wednesday 13 September 2006 11:32, Dieter Maurer wrote:
Jens Vagelpohl wrote at 2006-9-13 09:15 +0200:
...
It is a long-standing bug that the CMFDefault File index_html (and
download, which is obsolete in newer CMF versions) simply defers
to index_html from OFS.File. That one doesn't
On Friday 15 September 2006 11:27, Dieter Maurer wrote:
Dieter, are you saying that it's fixed somwhere in SVN or is it in
your private repository?
In our private repository.
would you care to attach your patch to
http://www.zope.org/Collectors/CMF/454
?
I believe it will be enormously
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13 Sep 2006, at 01:30, Dmitry S. Makovey wrote:
whenever I request '/file_view' method on file objects - everything
works as expected, as soon as I use '/download' all the settings are
discarded by CPM.
Well, the settings are not discarded.
You don't want to cache views for Files and Images. I use this for
predicate:
python: not view and object.portal_type=='File'
Stefan
On 13. Sep 2006, at 01:30, Dmitry S. Makovey wrote:
Playing with CPM I've discovered that if I put a policy like:
id: Files
Predicate:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13 Sep 2006, at 10:04, Stefan H. Holek wrote:
You don't want to cache views for Files and Images. I use this for
predicate:
python: not view and object.portal_type=='File'
I don't think this will help anything. The CPM never even fires,
On Wed, Sep 13, 2006 at 09:15:14AM +0200, Jens Vagelpohl wrote:
| It is a long-standing bug that the CMFDefault File index_html (and
| download, which is obsolete in newer CMF versions) simply defers to
| index_html from OFS.File. That one doesn't know anything about Cache
| Policy Managers,
Jens Vagelpohl wrote at 2006-9-13 09:15 +0200:
...
It is a long-standing bug that the CMFDefault File index_html (and
download, which is obsolete in newer CMF versions) simply defers to
index_html from OFS.File. That one doesn't know anything about Cache
Policy Managers, it only deals with