[Zope] Problem with ZCatalog and Virtual Host Monster
Yuichiro Sugiura
yuichiro@activewave.com
Sat, 1 Sep 2001 00:18:27 -0700
Hi Chris,
Thanks for your help.
As I don't know how to add CatalogPathAware as ZClass base to my class, I
simply replaced CatalogAware.py file with CatalogPathAware.py file.
Now, correct paths get stored in catalog (right on!), but many of fields in
Index and Metadata are not stored at all. They left empty. However, by
executing "Update Catalog" in Advanced tab, these fields can be filled with
correct data.
Any idea on what might cause this problem?
Yuichiro Sugiura
On 8/31/01 4:56 PM, Chris McDonough wrote:
>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 """
--
Yuichiro Sugiura
Activewave Technologies Inc.<http://www.awavetech.com/>
Serving cyber community and cyber business.