#721: Problems with Schema validation
-------------------------------------------+--------------------------------
Reporter: Baruch <[EMAIL PROTECTED]> | Owner: anonymous
Type: defect | Status: reopened
Priority: high | Milestone: 0.9a4
Component: Widgets | Version: 0.9a3
Severity: normal | Resolution:
Keywords: |
-------------------------------------------+--------------------------------
Comment (by alberto):
Not exactly... I think the problem in II is not exactly a problem (if I
understood it correctly). Andrey says that validation worked when he added
an extra field to the method (pwd3 I believe). This is normal because
adapt_call will remove the 'pwd3' field from the args as it isn't in the
methods signature (right?) and validation will pass as ignore_key_missing
= True in the Schema. This is somewaht related to this
[http://groups.google.com/group/turbogears-
trunk/browse_thread/thread/f034f5c1c6c387fd/ thread] I believe.
BTW: I think we should remove ignore_key_missing = True from the Schema,
there was some discussion on this a week ago but I haven't following the
MLs too closely lately to see what was decided. I'll try to dig into this
tomorrow more closely...
Alberto
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/721>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---