[Zope] <dtml-with "portal_url.getPortalObject()"> gives AttributeError

Marc Lindahl marc at bowery.com
Wed Nov 12 11:54:39 EST 2003


On Tuesday, November 11, 2003, at 02:26  PM, Dieter Maurer wrote:

> Marc Lindahl wrote at 2003-11-11 11:31 -0500:
>> Good point... how the heck to I get around it??
>
> First of all, you must find the place where
> "portal_url" is defined in the wrong way.
> Only then, can we find out how to work around that.
>

Wrong way, or accessed such that it returns a string?  The latter I 
have run into before, the string gets cached somehow.... very hard to 
track down but there was a workaround that I forgot, getattr or 
something.  Thought you'd remember.  I don't think portal_url is 
actually redefined...




More information about the Zope mailing list