[ZODB-Dev] Error in zmi when an object is named 'URL' or 'URL1'

Dieter Maurer dieter at handshake.de
Wed Feb 4 16:23:22 EST 2004


Eric Brun wrote at 2004-2-4 15:29 +0100:
>When I create a object (like Folder or DTMLMethod or ...) with name 'URL' o=
>r 'URL1' .... , I can't access to the content of my parent folder which con=
>tain this new folder :
>
>
>Zope Error
>Zope has encountered an error while publishing this resource.
>
>Error Type: AttributeError
>Error Value: __getslice__
>
>I think its a conflic namespace between REQUEST object and Folder Object in=
> the manage_main methed (OFS/dtml/main.dtml). =

You are right!

Avoid names you find in the "REQUEST" object...

-- 
Dieter



More information about the ZODB-Dev mailing list