[Zope] AAagghhh!!!

Sam Gendler sgendler@teknolojix.com
Tue, 30 Nov 1999 19:57:44 -0800


Stephen Pitts wrote:

> On Tue, Nov 30, 1999 at 04:42:07PM -0800, Sam Gendler wrote:
> > If I do a <dtml-var DestinationURL>, It prints "http://desktop:8080"
> >
> > However, if I say <dtml-call "RESPONSE.redirect(DestinationURL)">, I
> > wind up at
> > http://desktop:8080/manage_addProduct/AMDAMethod/MethodClass_factory/%3cPython,
> > which doesn't exist.
> >
> > Why?
>
> DestinationURL is a name used internally by some Zope stuff. There's no
> clear list of these names anywhere, but I've knocked Zope into infinite
> redirection loops by using them.
>
> Try using a name like "DestinationWebAddress" or something and see if the problem
> still happens.

I am trying to access the Zope internal stuff.  I was using code that was cut and
pasted from the original ZClass constructor.  When I created a new ZClass and cut
and pasted it in fresh, it all started working again.  Go figure.

--sam