-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris McDonough wrote:
> On Tue, 2010-12-07 at 15:18 +0100, Andreas Jung wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> My schema contains the following fields:
>>
>> 317     ust = colander.SchemaNode($
>> 318         colander.Float(),$
>> 319         title=u'Ust',$
>> 320         missing=0,$
>> 321         view_roles = [u'AutorenFiBu'],$
>> 322         edit_roles = [u'AutorenFiBu'],$
>> 323         edit_roles_on_creation = [u'AutorenFiBu'],$
>> 324     )$
>> 325     kreditor = colander.SchemaNode($
>> 326         colander.Integer(),$
>> 327         title=u'Kreditor',$
>> 328         missing=0,$
>> 329         view_roles = [u'Recherche', u'Anonymous', u'Authenticated',
>> u'AutorenHOA'],$
>> 330         edit_roles = [u'AutorenRed', u'AutorenFiBu'],$
>> 331         edit_roles_on_creation = [u'AutorenRed', u'AutorenFiBu'],$
>> 332     )$
>>
>> The related form data:
>>
>> 'fibu': {'bank': False,
>>           'blz': False,
>>           'kontonr': False,
>>           'kreditor': 0,
>>           'steuernr': False,
>>           'steuerpflichtig': False,
>>           'ust': 0},
>>
>> Upon deserialization I get the following error:
>>
>>   Module None, line 35, in deform_prepare
>>    - <TrustedFSPythonScript at /Test/adb/deform_prepare>
>>    - Line 35
>>   Module colander, line 1338, in deserialize
>>   Module colander, line 459, in deserialize
>>   Module colander, line 441, in _impl
>> Invalid: {'default.eintritt': u'Invalid date',
>>  'default.geburtstag': u'Invalid date',
>>  'fibu.kreditor': u'Required',
>>  'fibu.ust': u'Required'}
>>
>>
>> fibu.kreditor+ust are available ...so why is Colander complaining here
>> with 'Required'?
> 
> Are you building the form "by hand" or letting Deform autogenerate it?

Auto-generated by deform.

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM/luJAAoJEADcfz7u4AZj6bkLwM/y4C+e4wq1eE1neNw8bzEM
oRt/5ZfZ9vPXvhAzE2pU5huWQAdQ8kcwuqHetQm2s+AsGQ66EAgf5T8ePywi8upx
YocY0xsrA5Adrr5yKG6xOzWPcfLZMpfh1+3CJGueBULAHIm5VstFzunx3xaS3J7F
lZRmEH55s4VMK6aZv937c7zKEtXW2XodmBCF2fhU++71ZNbhxJWaT0O2Zx8HeOSM
EsVVHE08Gm4xpZAsuDGdURmUR+dgd26canmmDbMIISSxgWPHvDv2SkhmVzpyyeAN
hWL/HNkPR1YrURdLcL2ygX3bhIK1rSDukX2YNY084m6qwTOJiLDo7dDXoP07eKBF
mDHmhpgWLNLrx7CSdH9izTgi6bUJGonedk1KZbGOmNug3XFupU7g1ogJhv5zLMYg
fCKw3A15et9nh2uVp+ZluUE+xa8UepcG/bymnrKYGMsB8MBZN4JRSOyWrmJggpBB
L7VZ12Yw7nPAkRGlaaSI9OiBhoE3F1w=
=jgh9
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to