[Zope] Mappings to folders inside localfs objects aren't accepted

Jens Vagelpohl jens at zope.com
Thu Jan 8 10:21:23 EST 2004


> I found that the problem is the following validation
> in the VirtualHostMonster.py file:
>
> -- if not getattr(ob.aq_base, 'isAnObjectManager', 0):
> ---- raise 'LineError', ('Path must lead to '
> ---- 'an Object Manager')
>
> I removed it, restarted zope, and it worked. Does this
> also happen with the latest versions of zope? is this a bug?

I wouldn't classify it as a bug, more like an attempt to make sure 
people don't shoot themselves in the foot too badly.

You should be able to go into the LocalFS sources and ensure that those 
"folder wrapper" objects do set an attribute "isAnObjectManager".

jens

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2355 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20040108/e120edb4/smime.bin


More information about the Zope mailing list