Hello everyone!

We are running a small application in web2py 2.14.6

Checking the application with 2.15.3 we got a error on 

web2py-2.15.3/gluon/packages/dal/pydal/objects.py  in line 2946, in  
del ret['fields']
keyError : ‘fields’
2944    def __getstate__(self):
2945        ret = self.__dict__.copy()
2946        del ret['fields']
2947        return ret

we changed line 2496  to:
    ret.pop('fields', 0)
or to
    if ret.get('fields'):
        del ret['fields']

the question is.

What is wrong with ‘fields’ ?


- 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to