[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread Mengu
sorry, i have send out the wrong patch. the correct one is here: diff -r c92b70ebb0b9 gluon/dal.py --- a/gluon/dal.py Fri Jun 17 23:40:28 2011 -0500 +++ b/gluon/dal.py Sun Jun 19 04:11:28 2011 +0300 @@ -5476,7 +5476,11 @@ return self for row in self.records:

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread Mengu
hi szimszon and massimo, i have found out what is the problem. when you append the new virtualfield with "db.product.virtualfields.append(MyVirtualFields())" you instantiate it and apply it so for every lazy property, it uses the same MyVirtualFields class pointing to same object in the memory. i

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread szimszon
OK. I just do not know if creating an issue is enough or should I mention it here... Take time :)

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread Massimo Di Pierro
not yet. will do this week-end On Jun 18, 4:43 am, szimszon wrote: > Has somebody looked at > it:http://code.google.com/p/web2py/issues/detail?id=292?