[Zope] Problem with ZCatalog and Virtual Host Monster
Chris McDonough
chrism@zope.com
Fri, 31 Aug 2001 16:56:03 -0400
This may be a problem with CatalogAware objects. There is a new class,
CatalogPathAware that can be subclassed from to give the correct
behavior. Unfortunately, it doesn't get registered as a ZClass base
class automagically, so you need to do so yourself.
Yuichiro Sugiura wrote:
>
> Hi,
>
> I have a problem to get ZCatalog to work with Virtual Host Monster properly.
> A wrong path (Object Identifier) is stored when a catalog aware object get
> cataloged.
>
> For example, an object "/a/b/c/d_html" get cataloged as "/b/c/d_html" where
> "/a" is the root folder for the virtual host. However, correct paths
> ("/a/b/c/d_html") are stored when a catalog is built from "Find Objects" tab
> in ZCatalog, .
>
> Is this behavior a known bug of the ZCatalog, or could it be caused by
> misconfigurations of something? Any input would be greatly appreciated.
>
> I'm using Zope 2.4.0, by the way.
>
> Yuichiro Sugiura
>
> --
> Yuichiro Sugiura
> Activewave Technologies Inc.<http://www.awavetech.com/>
> Serving cyber community and cyber business.
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
""" Killing hundreds of birds with thousands of stones """