-----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'?

Andreas

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

iQGUBAEBAgAGBQJM/kIkAAoJEADcfz7u4AZjN5MLwLaLOta/eDtg+LjVQQSze07T
7Ui+eEFYaoLwdtqyA1OPLOl07K0zaXdJNzsMkj0N9cO6RkhCKZsgpm65eOnfUjwX
pLuBvutMivp+chbnTAz+DrMeQFI0i2eC5nucdKQXW9DZyekxCKvw9xVO3S+HT+La
ZdVS+oqB6k064Cz2YZRljr1M1Qfoxpe5OnUPqgrkxOMMaz77l8J8RD8kP4bZCppi
8hNoQng6KwA4tLHpskp0kDFZhZD7I8zTTcy28rE8OM+cIKqo9dpacdtN+SXTXG4a
wRWdnjuOkasNfbPZSUDK7w7uD9EnDbzSWXlPC6gh9B5qFDQy2EKwlJn7q458LwQC
nNWzK/sHhSRMSMQ+7Z0NekTtNG0GKH8BclN1txLKnu35pWZfNcG+zSeRdT9ZOcM+
Cm7/HkJHYE03wVkTLtslCZWyyKMe87mXi1LKiq6FD2BWkohYFvpaFzoCvipUB6R1
T+vOS2nUeAgttXqewa60xh784M69qWY=
=nDJz
-----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