[Zope] ZTM import of xtm, AttributeError in App.Product
Dieter Maurer
dieter@handshake.de
Thu, 10 Apr 2003 19:52:45 +0200
Florian Konnertz wrote at 2003-4-9 19:54 +0200:
> I am diving into ZopeTopicMaps these days and make good progress. I can
> add TopicMaps and everything by hand to a CMFsite.
>
> When importing the xtm file via
> http://grooveway:9080/openspirit.de/cmftest/System/TopicMap/topicmap_edit_form
> i get the following error.
> ....
> Module Products.CMFCore.TypesTool, line 503, in constructInstance
> Module Products.CMFCore.TypesTool, line 451, in _getFactoryMethod
> Module App.FactoryDispatcher, line 26, in __getitem__
> Module App.FactoryDispatcher, line 29, in __bobo_traverse__
> Module App.Product, line 66, in _product
> AttributeError: ZTM2
Looks as if the "factory_type_information" for ZTM where
wrong (--> "portal_types").
Apparently, the construction looks for "ZTM2" in the
products and does not find it.
Dieter