From: "Andreas" <andreas@aHIT.de>
Hi,
I created a POIDocumentClass (ZClass based on DTML Document; meta type PIO Document) . Than I created an instance of this POIDocumentClass id 'MyDoc' title 'My Document'.
Now when I try to find all POIDocumentClass instances in a Folder I do the following:
<dtml-with aq_parent> <!--#in "objectItems(['POI Document','DTML Document'])"--> <!--#if "AUTHENTICATED_USER.has_permission('View',_.getitem('id',1))"--> <a href="<!--#var "absolute_url()"-->"><!--#var title--></a><BR> <!--#/if--> <!--#/in--> </dtml-with>
I get back the right title 'My Document' but absolute_url() returns http://myserver:8080/foo/%3cstring%3e instead of http://myserver:8080/foo/MyDoc
When I create a DTML Document instance within the same Folder absolute_url() works fine. I suspect there is something wrong with my POIDocumentClass :-( Can anybody please explain this behaviour ?
A bug. See: http://www.zope.org/Members/AlexR/ZClassIDBug Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server ---------------------------------------------