----- Original Message ----- From: "Ingo Assenmacher" <ingo.assenmacher@post.rwth-aachen.de> To: "Kevin Dangoor" <kid@kendermedia.com> Cc: <zope@zope.org> Sent: Sunday, February 13, 2000 9:38 AM Subject: Re: [Zope] create folder within folder-object via DTML
File /opt/Zope-2.1.2-linux2-x86/lib/python/App/FactoryDispatcher.py, line 126, in DestinationURL AttributeError: (see above)
I think that the Factory has problems determining the actual URL where to put the object. But how can I fix that? I have encountered that failure in other contexts, too.
This looks like your MaterialFolder_add method doesn't have the check at the end for the NoRedir flag. When you set NoRedir=1, the DestinationURL variable doesn't get touched... This HowTo has the relevant code: http://www.zope.org/Members/tazzzzz/addZClasses Hope that does it for you! Kevin