[Zope] absolute_url in 2.1; clarification required
Rik Hoekstra
hoekstra@fsw.leidenuniv.nl
Thu, 25 Nov 1999 10:08:10 +0100
> 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?
>
Yes, there was a thread on the list sometime ago about the long URLs
for images, bearing upon this item. It was then marked by DC as a bug
which would be fixed in 2.1
see the thread called
Acquisition isn't always bandwidth and browser-cache friendly
advice needed
in the Zope November archives
and specifically for a confirmation of the bugfix
http://lists.zope.org/pipermail/zope/1999-November/014027.html
Rik