[web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-10 Thread Donatas Burba
Thank you. Will be waiting for stable release with this fix. Reverting to v2.10.4 for now. -- 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 t

Re: [web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-09 Thread Paolo Valleri
ok, the fix is here https://github.com/web2py/pydal/pull/211 Paolo On Tuesday, June 9, 2015 at 10:44:59 AM UTC+2, tim.n...@conted.ox.ac.uk wrote: > > Lovely! I was just about to post this problem. > > On Tuesday, 9 June 2015 07:56:35 UTC+1, Paolo Valleri wrote: >> >> I see the problem now, than

Re: [web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-09 Thread tim . nyborg
Lovely! I was just about to post this problem. On Tuesday, 9 June 2015 07:56:35 UTC+1, Paolo Valleri wrote: > > I see the problem now, thanks for pointing it out. > I'll post a fix later today. > > Paolo > > 2015-06-08 22:11 GMT+02:00 Donatas Burba >: > >> This is failing example: >> >> db=DAL('

Re: [web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-08 Thread Paolo Valleri
I see the problem now, thanks for pointing it out. I'll post a fix later today. Paolo 2015-06-08 22:11 GMT+02:00 Donatas Burba : > This is failing example: > > db=DAL('sqlite:memory') > > db.define_table('tt', > Field('vv', 'integer'), > Field.Virtual('x', lambda row: row.tt.vv * 10)) >

[web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-08 Thread Donatas Burba
This is failing example: db=DAL('sqlite:memory') db.define_table('tt', Field('vv', 'integer'), Field.Virtual('x', lambda row: row.tt.vv * 10)) db.define_table('tt2', Field('ttref', 'reference tt'), Field('vv2', 'integer')) tt1 = db.tt.insert(vv='1') tt2 = db.tt.insert(vv=

[web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-07 Thread Donatas Burba
So I must take some more testing and if it fails, I will paste sample source. -- 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 b

[web2py] Re: Virtual fields disapeared from select() results (v2.11.2)

2015-06-07 Thread Paolo Valleri
Hi, The following works db=DAL('sqlite:memory') db.define_table('tt', Field('vv', 'integer'), Field.Virtual('x', lambda row: row.tt.vv * 10)) db.tt.insert(vv='1') print db(db.tt).select().first() printing We need more details to understand what is failing in your case. Can you post a fa