I have a ZCatalog object in Zope's root folder.
Its ContentView uses absolute URL's to reference its objects: e.g.
"//acl_users" rather than "/acl_users". Such URL's cause a browser
to interprete the first URL part as host. In the above case,
it looks for host "acl_users" which, of cause, does not exist.

The following patch fixes the problem in my case. It might, however,
introduce other problems if the ZCatalog is not in the root folder.


--- :catalogView.dtml   Wed Nov  3 19:56:32 1999
+++ catalogView.dtml    Sat May 27 17:04:55 2000
@@ -48,7 +48,7 @@
       <td valign="top"><dtml-var meta_type></td>
       <td valign="top" align="left">
-        <a href="/<dtml-var "getpath(data_record_id_)">/manage_workspace"><dtml-var 
+        <a href="<dtml-var "getpath(data_record_id_)">/manage_workspace"><dtml-var 
         <dtml-if title> (<dtml-var title>)</dtml-if></a>

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to