PortalFolder has public methods without docstrings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope CMF buildout |
New
|
Undecided
|
Unassigned |
Bug Description
The following PortalFolder methods are marked as public, but do not have docstrings. This prevents using them over XML-RPC API, as Zope publisher prevents traversing to them, though otherwise it would be ok.
#
# 'IFolderish' interface methods
#
security.
def contentItems(self, filter=None):
# List contentish and folderish sub-objects and their IDs.
# (method is without docstring to disable publishing)
#
ids = self.objectIds()
return self._filteredI
security.
def contentIds(self, filter=None):
# List IDs of contentish and folderish sub-objects.
# (method is without docstring to disable publishing)
#
return [ item[0] for item in self.contentIte
security.
def contentValues(self, filter=None):
# List contentish and folderish sub-objects.
# (method is without docstring to disable publishing)
#
return [ item[1] for item in self.contentIte