[Zope-CMF] Re: [Zope] cmf 1.2

Antwan Reijnen twanus@xs4all.nl
Thu, 09 May 2002 13:37:16 +0200


Hi Baldocchi,

the standard dtml-constructor does not work anymore. It can be replaced by a simple pythonscript instead. Check out the details in the replies below this article:

http://cmf.zope.org/Members/tseaver/how_tos/faq_howto

Shortcut to the solution:

http://cmf.zope.org/Members/tseaver/how_tos/faq_howto/talkback/1013363771

And don't forget to read the upgrade (and the comment), too:

http://cmf.zope.org/Members/tseaver/how_tos/faq_howto/talkback/1020943226 

Good luck, Antwan.


At 12:59 9-5-02 +0200, you wrote:
>I have updated cmf from 1.1 to 1.2, but now all types i've defined as
>zclass don't works! 
>
>If i add content, i've this error:
>
>Traceback (innermost last):
>File C:\sviluppo\zope251\lib\python\ZPublisher\Publish.py, line 150,
>in publish_module
>File C:\sviluppo\zope251\lib\python\ZPublisher\Publish.py, line 114,
>in publish
>File C:\sviluppo\zope251\lib\python\Zope\__init__.py, line 159, in
>zpublisher_exception_hook
>(Object: 1020938962193)
>File C:\sviluppo\zope251\lib\python\ZPublisher\Publish.py, line 98, in
>publish
>File C:\sviluppo\zope251\lib\python\ZPublisher\mapply.py, line 88, in
>mapply
>(Object: invokeFactory)
>File C:\sviluppo\zope251\lib\python\ZPublisher\Publish.py, line 39, in
>call_object
>(Object: invokeFactory)
>File C:\sviluppo\zope251\lib\python\Products\CMFCore\PortalFolder.py,
>line 335, in invokeFactory
>(Object: 1020938962193)
>File C:\sviluppo\zope251\lib\python\Products\CMFCore\TypesTool.py,
>line 701, in constructContent
>(Object: portal_types)
>File C:\sviluppo\zope251\lib\python\Products\CMFCore\TypesTool.py,
>line 430, in constructInstance
>(Object: esercizi)
>File C:\sviluppo\zope251\lib\python\OFS\ObjectManager.py, line 232, in
>_getOb
>(Object: 1020938962193)
>AttributeError: (see above)
>
>Why????
>Help me, please!!!
>
>Massi
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )