[Zope-CMF] Re: [CMF2.1/Plone 3.0] Random recataloging errors

Tres Seaver tseaver at palladion.com
Mon Oct 22 11:28:17 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Jung wrote:

> while recataloging a Plone 3.0.1 site I encounter sometimes the following
> error with _some_ ATDocument instances (while other ATDocument instances
> indexing properly)...known bug?
> 
> Andreas
> -----------
> 
> 007-10-22 01:04:46 ERROR Zope.ZCatalog Recataloging object at 
> /fml-migrated/fml failed
> Traceback (most recent call last):
>   File 
> "/home/blohn/fml/parts/zope2/lib/python/Products/ZCatalog/ZCatalog.py", 
> line 296, in refreshCatalog
>     self.catalog_object(obj, p, pghandler=pghandler)
>   File "/home/blohn/fml/parts/plone/CMFPlone/CatalogTool.py", line 386, in 
> catalog_object
>     update_metadata, pghandler=pghandler)
>   File 
> "/home/blohn/fml/parts/zope2/lib/python/Products/ZCatalog/ZCatalog.py", 
> line 535, in catalog_object
>     update_metadata=update_metadata)
>   File 
> "/home/blohn/fml/parts/zope2/lib/python/Products/ZCatalog/Catalog.py", line 
> 348, in catalogObject
>     self.updateMetadata(object, uid)
>   File 
> "/home/blohn/fml/parts/zope2/lib/python/Products/ZCatalog/Catalog.py", line 
> 277, in updateMetadata
>     newDataRecord = self.recordify(object)
>   File 
> "/home/blohn/fml/parts/zope2/lib/python/Products/ZCatalog/Catalog.py", line 
> 417, in recordify
>     if(attr is not MV and safe_callable(attr)): attr=attr()
>   File "/home/blohn/fml/parts/plone/CMFDynamicViewFTI/browserdefault.py", 
> line 80, in __call__
>     return template(context, context.REQUEST)
> AttributeError: REQUEST

That pretty much has to be caused by trying to reindex a document which
is not properly acquired from its container, since the REQUEST is
normally acquired from the parent of the root.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHHMGR+gerLs4ltQ4RAmJIAKDZBRuriIjCB6mmeWjxLUxCtdmGxgCfRUlj
ogyYlQF00LWatRhqOQRIOXY=
=TblL
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list