[Zope-CMF] [dev] Why is contentItems public?

Jens Vagelpohl jens at dataflake.org
Mon Sep 13 07:49:30 EDT 2004


>>> The default 'objectItems' (or 'contentIds' or 'contentValues') is 
>>> much
>>> less expensive, but protected by 'Access contents information' and 
>>> has
>>> no docstring.
>>>
>>> I propose to remove at least the docstrings of 'content*', on
>>> CMF-1_5-branch and HEAD.
>>
>> What's the outcome of removing the docstring? AFAIK it means they
>> cannot be accessed TTW anymore at all. Wouldn't that cause a lot of
>> breakage?
>
> Not unless someone is relying on being able to call those methods by
> visiting their URLs in a browser.  This is the ancient
> "objectIds/objectValues/objectItems is available via a URL" problem 
> from
> four years ago revisited.

Oh right, I had that all confused. Sounds like +1 from me then.

jens

---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			Zope - done medium rare
Zetwork GmbH				http://www.zetwork.com/



More information about the Zope-CMF mailing list