Hi,
I have a couple of queries about the caching policy manager. Can anyone
help?
1. When 304 responses are enabled, if the function entered for
modification time or etag return anything other than a string, the
comparison always fails, and so the objects do not validate. This is
because
[EMAIL PROTECTED] wrote:
> Miles Waller wrote at 2006-7-5 13:32 +0100:
>
>
>> ...
>> 1. When 304 responses are enabled, if the function entered for
modification time or etag return anything other than a string, the
comparison always fails, and so the objects do not val
Hi,
I have a question about aliases in the types tool that I'm hoping some
can answer pretty easily.
In the management screen, there's a line which says:
For backwards compatibility there is also a '(Default)' method:
Calls index_html or __call__, depending on the class
For some old type
yuppie wrote:
Hi Miles!
Miles Waller wrote:
I have a question about aliases in the types tool that I'm hoping some
can answer pretty easily.
In the management screen, there's a line which says:
For backwards compatibility there is also a '(Default)' method:
Hi,
As part of a workflow, I evaluate whether the user has the 'Modify
portal content' permission as follows:
from CMFCore.permissions import ModifyPortalContent
from CMFCore.utils import _checkPermission
can_edit = _checkPermission(ModifyPortalContent, ob)
where ob is the object I am talkin
Dieter Maurer wrote:
Miles Waller wrote at 2006-8-11 16:17 +0100:
...
I stepped through the code and somehow it thinks the user 'admin' is the
owner. I think this is being acquired from somewhere (not sure where).
I added the line _owner = None at the class level in
CMFCore.
Hi,
I just went to use the sample_content profile from CMF1.6 but ... it's
not there! It is registered in __init__.py and appears in the add site
list, but there's nothing no sample_content in the profiles directory.
I don't seem to get an error, but I might be wrong about that.
Before I co
where
- the 1.6 branch seems just to have had exportimport.zcml deleted
AFAICT. Is that preferable to a patch in getting it sorted out?
Miles
Jens Vagelpohl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5 Sep 2006, at 19:17, Miles Waller wrote:
Hi,
I just went to use the sample_co
Jens Vagelpohl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10 Sep 2006, at 20:09, Martin Aspeli wrote:
Just out of curiosity, which dependencies does Plone 3.0 have that
require Zope 2.10? Or was it some papal edict to use 2.10?
2.10 really is lovely, because Zope 3.3 is lovel
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
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
Dieter Maurer wrote:
Miles Waller wrote at 2006-10-11 16:34 +0100:
...
My question is, does this count as a bug?
I would say "yes"...
Please file a bug report to the CMF collector.
Done (incl. fix + tests): http://www.zope.org/Collecto
Hi,
What is the correct pattern for FTP representations of a CMF content
type? I am trying to create a content export/import mechanism for some
custom objects, but I've found a few different patterns to follow:
First of all, all content tries to use it's WebDAV representation. This
is good
Jens Vagelpohl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17 Dec 2006, at 18:52, Dieter Maurer wrote:
The description indicates in what direction the CPM should get fixed:
* If the response already provides cache control, the CPM should
not override it, as it is likely tha
Hi,
I was looking at the catalog tool the other day and had a couple of
questions:
- why does the catalog not attempt to use a DateRange index for the
effective/expires queries, if this index is available and no dates are
specified?
- is the 'access future content' permission used to con
15 matches
Mail list logo