Hi! Is there any good reason why a true 'isAnObjectManager' makes an object a DAV collection? I'd like to check in this small patch on the trunk: Index: PropertySheets.py =================================================================== --- PropertySheets.py (revision 39879) +++ PropertySheets.py (working copy) @@ -533,8 +533,7 @@ def dav__resourcetype(self): vself=self.v_self() - if (isDavCollection(vself) or - getattr(aq_base(vself), 'isAnObjectManager', None)): + if isDavCollection(vself): return '<n:collection/>' return '' AFAICS it doesn't break anything in Zope itself and that change would allow to map folderish objects to a file instead of a directory by setting __dav_collection__ to False. Any objections? Cheers, Yuppie
participants (1)
-
yuppie