Rv: Re: [Zope] How to replace catalogaware base class with catalogpathaware in a Zclass?
--------- Messaggio Originale -------- Da: Dieter Maurer <dieter@handshake.de> Per: Yurj <yurj@alfa.it> Cc: zope@zope.org Oggetto: Re: [Zope] How to replace catalogaware base class with catalogpathaware in a Zclass? Data: 01/12/03 18:28
Yurj wrote at 2003-11-30 19:09 -0100: > How to replace catalogaware base class with catalogpathaware in a
Zclass?
> > Calogaware has path problem with virtual host monster...
I would reimplement "CatalogAware" by "CatalogPathAware" (after that, both were the same).
How? :)) A new product or editing the source?
I do not know why this has not been done in the first place -- maybe some backward compatibility issue.
Zclass? :)) I don't understand why ZClass has been promoted so much in the Zope Book while they're not supported much by the comunity :P
There is a quite difficult alternative: rebasing your ZClass. You should find a HowTo on Zope.org.
Black magic for me =)
-- Dieter
________________________________________________ Message sent using ALFANET Caorle WEBMAIL 1.0
Yurj wrote at 2003-12-2 09:50 -0100:
Yurj wrote at 2003-11-30 19:09 -0100: > How to replace catalogaware base class with catalogpathaware in a Zclass? > > Calogaware has path problem with virtual host monster...
I would reimplement "CatalogAware" by "CatalogPathAware" (after that, both were the same).
How? :)) A new product or editing the source?
Editing the source... -- Dieter
Dieter Maurer ha scritto:
Yurj wrote at 2003-12-2 09:50 -0100:
Yurj wrote at 2003-11-30 19:09 -0100: > How to replace catalogaware base class with catalogpathaware in a Zclass? > > Calogaware has path problem with virtual host monster...
I would reimplement "CatalogAware" by "CatalogPathAware" (after that, both were the same).
How? :)) A new product or editing the source?
Editing the source...
I've solved with getIndexDataForRID(data_record_id_)['path'], but I realize that I've double entry in the catalog. One is correct, the other no (inserted via domain with vhm, so I have the wrong path) and refers to the same object. Of this wrong one, I've only the rid. How can I delete it from the catalog? the catalog object don't have a search interface for rid or path...
participants (3)
-
Carrer Yuri -
Dieter Maurer -
Yurj