Re: [Zope] Moving Objects that are Cataloged...
Terry Kerr wrote:
how are you moving them?
catalogAware objects unindex themselves when deleted then reindex themselves if pasted somewhere.
The objects aren't catalogAware.. Chris
then as far as i know there is no way around the problem? anyone else have comment? i think that is the whole point of making objects catalogAware. Chris Withers wrote:
Terry Kerr wrote:
how are you moving them?
catalogAware objects unindex themselves when deleted then reindex themselves if pasted somewhere.
The objects aren't catalogAware..
Chris
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
Whilst in agreement with Chris I would like to throw another situation in here that CatalogAware doesn't cater for. If you change a folder name, somewhere higher in the tree, then all the cataloged objects references are incorrect. I think this is the same problem that Chris mentioned but a different implementation. -Andy
then as far as i know there is no way around the problem? anyone else have comment?
i think that is the whole point of making objects catalogAware.
Chris Withers wrote:
Terry Kerr wrote:
how are you moving them?
catalogAware objects unindex themselves when deleted then reindex themselves if pasted somewhere.
The objects aren't catalogAware..
Chris
Andy Dawkins wrote:
Whilst in agreement with Chris I would like to throw another situation in here that CatalogAware doesn't cater for.
If you change a folder name, somewhere higher in the tree, then all the cataloged objects references are incorrect.
I think this is the same problem that Chris mentioned but a different implementation.
Slightly different, but still the same basic problems caused by storing a patch to an object rather than a reference to the object. Can someone remind me of the advtanges of storing the path? cheers, Chris
Terry Kerr wrote:
i think that is the whole point of making objects catalogAware.
But catalogAware doesn't support subtransactions. It also doesn't handle indirect deleting and several other conditions IIRC.. Also, in this particular case, the ZCatalog is a Squishdot Site and the obejcts are Squishdot Postings so I don't really knwo how I could work CatalogAware in even if I wanted to :S cheers, Chris
participants (3)
-
Andy Dawkins -
Chris Withers -
Terry Kerr