ZClass AttributeError: catalog_object

Alwin Michael SCHRONEN <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo,

ich habe eine Seite von Zope 2.8.8-final auf Zope 2.9.8-final umgezogen.
Die Seite hat einen Inhaltstyp, den ich per ZClass definiert habe.

Die ZClass beinhaltet folgende Base Classes: ZObject, CatalogAwareBase, ZObjectManager.

Wenn ich nun ein neus Object dieser ZClasse hinzufügen will, gibt es einen AttributeError: catalog_object.

Hat jemand eine Idee?
Dank!

Alwin


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 Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 326, in _exec
  Module None, line 3, in ASWerk_add
   - <PythonScript at /as/DB/SBMP/ASWerk_add used for /as/DB/SBMP/ASWerk_factory>
   - Line 3
  Module ZClasses.ZClass, line 464, in createInObjectManager
  Module OFS.ObjectManager, line 333, in _setObject
  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 OFS.subscribers, line 114, in dispatchObjectMovedEvent
  Module OFS.subscribers, line 144, in callManageAfterAdd
  Module Products.ZCatalog.CatalogAwareness, line 47, in manage_afterAdd
  Module Products.ZCatalog.CatalogAwareness, line 117, in index_object
AttributeError: catalog_object

-- 
Alwin Michael Schronen
Kirchenmusiker

Grumbachtalweg 13
D - 66121 Saarbrücken

Tel.  +49 681 754 00 91
Mobil +49 177 5453 423

[email protected]



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.