[Zope-CMF] Cant rename portal anymore!

Florent Guillaume fg@nuxeo.com
Sat, 3 Aug 2002 19:58:09 +0000 (UTC)


What's your 'intercooperation' object?
Its reindexObject method must conform to the new style in CMF 1.3, namely:
    def reindexObject(self, idxs=[]):
        ...

idxs is used to specify specific indexes to reindex. If you don't want to
deal with it, ignore it.

Florent



Robert Rottermann <robert@redcor.ch> wrote:
> Hi,
> I installed CMF from CVS today (and also plone).
> Now I can not copy or rename a protal anymore. See the traceback.
> This is a linux box with Zope 2.5 running.
> 
> On my NT200 at home where I have the same CVS/Plone combination but Zope
> 2.51 everything works fine.
> 
> Thanks for any tips where to look.
> Robert
> 
> Site Error
> An error was encountered while publishing this resource.
> 
> Error Type: TypeError
> Error Value: reindexObject() got an unexpected keyword argument 'idxs'
> 
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> Troubleshooting Suggestions
> 
>   a.. The URL may be incorrect.
>   b.. The parameters passed to this resource may be incorrect.
>   c.. A resource that this resource relies on may be encountering an error.
> For more detailed information about the error, please refer to the HTML
> source for this page.
> 
> If the error persists please contact the site maintainer. Thank you for your
> patience.
> 
> Traceback (innermost last):
>   File /home/zope/opt/Zope-2.5-head/lib/python/ZPublisher/Publish.py, line
> 150, in publish_module
>   File /home/zope/opt/Zope-2.5-head/lib/python/ZPublisher/Publish.py, line
> 114, in publish
>   File /home/zope/opt/Zope-2.5-head/lib/python/Zope/__init__.py, line 159,
> in zpublisher_exception_hook
>     (Object: 08.02)
>   File /home/zope/opt/Zope-2.5-head/lib/python/ZPublisher/Publish.py, line
> 98, in publish
>   File /home/zope/opt/Zope-2.5-head/lib/python/ZPublisher/mapply.py, line
> 88, in mapply
>     (Object: manage_pasteObjects)
>   File /home/zope/opt/Zope-2.5-head/lib/python/ZPublisher/Publish.py, line
> 39, in call_object
>     (Object: manage_pasteObjects)
>   File /home/zope/opt/Zope-2.5-head/lib/python/OFS/CopySupport.py, line 191,
> in manage_pasteObjects
>     (Object: 08.02)
>   File /home/zope/opt/Zope-2.5-head/lib/python/OFS/ObjectManager.py, line
> 267, in _setObject
>     (Object: 08.02)
>   File /home/zope/var/Instance/Products/CMFCore/CMFCatalogAware.py, line
> 147, in manage_afterAdd
>     (Object: intercooperation)
>   File /home/zope/var/Instance/Products/CMFCore/CMFCatalogAware.py, line
> 176, in __recurse
>     (Object: intercooperation)
>   File /home/zope/var/Instance/Products/CMFCore/CMFCatalogAware.py, line
> 147, in manage_afterAdd
>     (Object: Collector)
>   File /home/zope/var/Instance/Products/CMFCore/CMFCatalogAware.py, line
> 176, in __recurse
>     (Object: Collector)
>   File /home/zope/var/Instance/Products/CMFCollector/CollectorIssue.py, line
> 694, in manage_afterAdd
>     (Object: stub)
>   File /home/zope/var/Instance/Products/CMFCore/WorkflowTool.py, line 363,
> in notifyCreated
>     (Object: portal_workflow)
>   File /home/zope/var/Instance/Products/CMFCore/WorkflowTool.py, line 700,
> in _reindexWorkflowVariables
>     (Object: portal_workflow)
> TypeError: (see above)
> 
> 
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com