On 11.07.09 15:10, Françoise Conil wrote:
> Traceback (innermost last):
> Module ZPublisher.Publish, line 119, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Shared.DC.Scripts.Bindings, line 313, in __call__
> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
> Module Products.PythonScripts.PythonScript, line 328, in _exec
> Module None, line 49, in testcreateArbo
> - <CustomizedPythonScript at /liris/SITE/essai/testcreateArbo>
> - Line 49
> Module Shared.DC.Scripts.Bindings, line 313, in __call__
> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
> Module Products.PythonScripts.PythonScript, line 328, in _exec
> Module None, line 26, in createImportedEvtForHelp
> - <CustomizedPythonScript at
> /liris/SITE/essai/createImportedEvtForHelp>
> - Line 26
> Module Products.ATContentTypes.lib.constraintypes, line 281, in
> invokeFactory
> Module Products.CMFCore.PortalFolder, line 315, in invokeFactory
> Module Products.CMFCore.TypesTool, line 716, in constructContent
> Module Products.CMFCore.TypesTool, line 276, in constructInstance
> Module Products.CMFCore.TypesTool, line 450, in _constructInstance
> Module Products.ATContentTypes.content.event, line 10, in addATEvent
> Module Products.ATContentTypes.content.base, line 136, in
> initializeArchetype
> Module Products.ATContentTypes.content.base, line 177, in edit
> TypeError: cmf_edit() got an unexpected keyword argument
> 'modification_date'
Not reproducable with my code:
from DateTime.DateTime import DateTime
context.invokeFactory('Event', id='foo', modification_date=DateTime())
return 'one'
Feel free filling a bug report.
-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers