[Zope] absolute_url in 2.1; clarification required

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 22 Nov 1999 13:29:11 -0000


The behaviour of absolute_url has changed in 2.1 beta 2, relative to 2.0...

Consider three sibling folders, a, b, and c. In 2.0, <dtml-var
"a.b.c.absolute_url()"> would return "http://whatever/a/b/c", but in 2.1 it
just returns "http://whatever/c".

I guess the new behaviour is more consistent with it's name, but it does go
against the docstring in 2.0:
        """Return an absolute url to the object. Note that the url
        will reflect the acquisition path of the object if the object
        has been acquired."""

Can someone confirm whether or not this change in behaviour was intended?

Thanks,

Toby Dickenson