Ticket #342 (assigned defect)
Problem decoding objects that map to GAE db.Model objects with required properties
| Reported by: | ricardo | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4 |
| Component: | Decoder | Version: | 0.3.1 |
| Keywords: | review | Cc: |
Description
Decoding works fine unless properties in the Model object are set to required or have validator functions. At present the decoder instantiates an empty object and then assigns all properties from the incoming client object. Upon instantiation, Google App Engine raises "Bad Value Error" for all those properties that are required or that have validator functions not built to accept None as an acceptable value (which surely most validator functions should not).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
