[ZCM] [ZC] 608/ 3 Accept "VHM and ZCatalog absolute paths"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Fri, 17 Jan 2003 08:47:07 -0500


Issue #608 Update (Accept) "VHM and ZCatalog absolute paths"
 Status Accepted, Catalog/bug medium
To followup, visit:
  http://collector.zope.org/Zope/608

==============================================================
= Accept - Entry #3 by regebro on Jan 17, 2003 8:47 am

 Status: Pending => Accepted

 Supporters added: regebro

Milos Prudek confirmed in a private letter that's it's the object id that is different depending on which method is used. I agree that this is a bug, and I think that the unique ID of the entry always should be the absolute physical path to the object, with or without virtual hosts.


________________________________________
= Comment - Entry #2 by regebro on Jan 17, 2003 6:23 am

This depends on what is ment with "object paths". Is it the UID path, or indexed absolute_path, or???
________________________________________
= Request - Entry #1 by Anonymous User on Oct 4, 2002 3:44 am

CatalogPathAware works very well for ZClasses under Virtual Host Monster. Object paths do not include the folder that VHM points to, if <dtml-call reindex_object> is used when creating the ZClass instance. Also when changing ZClass instance properties and running <dtml-call reindex_object>, object paths are ok.

But when ZMI is used to mass-catalog (Find Objects tab, Advanced/Update Catalog tab), the folder is always added. Objects in the catalog have ABSOLUTE paths, i.e. paths which include the container folder which should be hidden by VHM. This is IMHO incorrect.
==============================================================