Attribut-Error bei Änderung von ATCTFolder auf ATCTOrderedFolder

Nico Grubert <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo zusammen

Ich habe einen Content Typen für Plone, dessen ursprüngliche Klasse so definiert 
war:

  class MyContentType(base.ATCTFolder):

Wenn ich nun von ATCTOrderedFolder erben möchte, definiere ich ihn so.

 class MyContentType(base.ATCTOrderedFolder ):

Rufe ich danach die View eines der Content-Objekte auf, erhalte ich folgenden 
Fehler:


AttributeError
Sorry, a site error occurred.
Traceback (innermost last): 
	* Module ZPublisher.Publish, line 202, in publish_module_standard
	* Module ZPublisher.Publish, line 150, in publish
	* Module plone.app.linkintegrity.monkey, line 21, in 
zpublisher_exception_hook_wrapper
	* Module Zope2.App.startup, line 221, in zpublisher_exception_hook
	* Module ZPublisher.Publish, line 119, in publish
	* Module ZPublisher.mapply, line 88, in mapply
	* Module ZPublisher.Publish, line 42, in call_object
	* Module Products.ATContentTypes.lib.constraintypes, line 200, in 
getLocallyAllowedTypesAttributeError: 'NoneType' object has no attribute 'get' 
(Also, the  following error occurred while attempting to render the standard 
error  message, please see the event log for full details: 'NoneType' object  
has no attribute 'get') 


Hat jemand eine Idee, wo der Fehler liegen könnte? Habe ich noch etwas vergessen 
oder übersehen?

Gruss
Nico



_______________________________________________
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.