[Zope] tree-item-url bug ?

Gilles Lenfant glenfant@bigfoot.com
Fri, 17 Aug 2001 19:55:08 +0200


Hi,

Seems its a bug of tree-item-url (Zope 2.3.3) or I missed something ?

/foo/index_html (dtml doc) contains:

<dtml-tree bar branches="objectValues">>
<img src="&dtml-icon;">&nbsp;<a href="<dtml-var tree-item-url>"><dtml-var
titre></a>
</dtml-tree>

Renders good, but the URL links generated by "tree-item-url" forget the
"root" component of the URL.
In example for an object that's at "/foo/bar/anboject", the "tree-item-url"
is http://localhost:8080/foo/anobject when it should be
http://localhost:8080/foo/bar/anobject !!!

Any clue ?

TIA

--Gilles