[CPS-devel] 'NoneType' object has no attribute 'getStatements'

danieltellez danieltellez at yerbabuena.es
Fri Jun 29 11:56:23 CEST 2007


Bonjour,

I've a problem with deleting an object from workspaces.
I've created an Document Type object without title nor description and 
when I try to delete  it I get next trace:

Error Type: AttributeError

'NoneType' object has no attribute 'getStatements'


Traceback (innermost last):

    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, in call_object
    * Module OFS.ObjectManager, line 506, in manage_delObjects
    * Module OFS.ObjectManager, line 382, in _delObject
    * Module zope.event, line 23, in notify
    * Module zope.app.event.dispatching, line 66, in dispatch
    * Module zope.component, line 181, in subscribers
    * Module zope.component.site, line 89, in subscribers
    * Module zope.interface.adapter, line 481, in subscribers
    * Module zope.app.event.objectevent, line 192, in objectEventNotify
    * Module zope.component, line 181, in subscribers
    * Module zope.component.site, line 89, in subscribers
    * Module zope.interface.adapter, line 481, in subscribers
    * Module Products.CPSCourrier.workflows.events, line 54, in removedProxy
    * Module Products.CPSCourrier.relations, line 68, in clean_relations_for

AttributeError: 'NoneType' object has no attribute 'getStatements'



I've tried to rebuild indexes but nothing. Any idea ?

-- 
Daniel Téllez Sabán. 
Yerbabuena Software. Dpto I+D.
danieltellez at yerbabuena.es
http://www.yerbabuena.es
Tlf/Fax: 902 995 246 Móvil: 615 051 283




This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.