My application runs on GAE and has been running on 2.9.12. In conjunction 
with some application changes decided to update web2py to latest version 
2.12.3.

Runs fine in web2py test environment.

In both production and SDK GAE various pages fail. The first failure I have 
looked at in detail concerns decimal fields. In the case I have drilled 
down on, a row is being retrieved with None values for the decimal fields. 
It turns out that in the datastore these values are stored as strings 
(newer entities), but I have an old entity which contains integer values 
(probably an earlier iteration of my model had this field as integer and I 
later changed to decimal - I'm not sure).

In any case, 2.9.12 correctly converts the integers to decimal, 2.12.3 
returns None.

One could argue that it should not be possible to redefine integer field to 
decimal (or float for that matter) and expect legacy entities to work, but 
it seems a shame to lose this feature?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to