Comment 2 for bug 100914

Revision history for this message
Clemens Robbenhaar (crobbenhaar) wrote :

Huh, too bad ... the following code:

                    try:
                        obj = self.restrictedTraverse(splitpath)
                        path = obj.absolute_url()
                    except (KeyError, AttributeError), err:
                        pass

looks up the "edit" attribute, and then acquires the "absolute_url"
from the underlying content object, as the "edit" attribute does not
define an "absolute_url by itself ...