В Птн, 25/11/2005 в 15:21 +0100, Stefano Schintu пишет: > Hello, > yesterday I opened a ticket reporting a problem using CPSTypeMaker: > http://svn.nuxeo.org/trac/pub/ticket/1159 > > As suggested by Florent Guillaume I tried removing the following line > from cpstypes_edit.pt: > wttool here/portal_widget_types; > > Unfortunately after removing that line I got the following error: > [snip]
> * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > __traceback_info__: tmakertool.listWidgetTypes(transated=True) > * Module Python expression > "tmakertool.listWidgetTypes(transated=True)", line 1, in <expression> > > TypeError: listWidgetTypes() got an unexpected keyword argument 'transated' > > I tried then to remove from the same template the following line: > widget_meta_types python:tmakertool.listWidgetTypes(transated=True); [snip] It's a bug in parameter name, should be widget_meta_types python:tmakertool.listWidgetTypes(translated=True); Thanks for reporting, it's fixed in svn trunk now. Ruslan _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
