Thanks for reporting it. It was a serious issue.
On Wednesday, 29 August 2012 16:27:28 UTC-5, Daniel Gonzalez wrote:
>
> Thanks Massimo, that solved it!
>
> On Wednesday, August 29, 2012 11:07:03 PM UTC+2, Massimo Di Pierro wrote:
>>
>> Fixed in trunk! Thanks for reporting this is was a serious i
Thanks Massimo, that solved it!
On Wednesday, August 29, 2012 11:07:03 PM UTC+2, Massimo Di Pierro wrote:
>
> Fixed in trunk! Thanks for reporting this is was a serious issue. Please
> check it. Both row['email'] and row.email should work now. Notice that
> your compute callback returns always
Fixed in trunk! Thanks for reporting this is was a serious issue. Please
check it. Both row['email'] and row.email should work now. Notice that
your compute callback returns always None. I assume that is intentional?
On Wednesday, 29 August 2012 14:19:59 UTC-5, Daniel Gonzalez wrote:
>
> # Use
>
> It is just internal logic, creating some objects in several places. The
> point is that usually row.email was evaluating to a string, and I was using
> that to setup my objects. Now it is evaluating to (when showing with %s):
>
> (, 'email@example.com
> ')
>
Are you saying even without
Can you please test the latest trunk? If you still have the problem, can
you post your code so that I can try reproduce it?
On Wednesday, 29 August 2012 15:06:17 UTC-5, Daniel Gonzalez wrote:
>
> It is just internal logic, creating some objects in several places. The
> point is that usually row.
It is just internal logic, creating some objects in several places. The
point is that usually row.email was evaluating to a string, and I was using
that to setup my objects. Now it is evaluating to (when showing with %s):
(, 'email.addr...@example.com')
And this problem seems to be new in trunk
What happens with "email" variable in the rest of that function? What does
the function return?
Anthony
On Wednesday, August 29, 2012 3:19:59 PM UTC-4, Daniel Gonzalez wrote:
>
> # Use the authorization table for users
> web2py_user_table = auth.settings.table_user_name
> db.define_table(
>
# Use the authorization table for users
web2py_user_table = auth.settings.table_user_name
db.define_table(
web2py_user_table,
Field('email',unique=True),
Field('wav_user_doc_id', length=128, compute=create_new_wav_user),
Field('password', length=512,
can you show the code?
I am using
db.table.field.compute = lambda row: row.otherfield
On Wed, Aug 29, 2012 at 4:09 PM, Daniel Gonzalez wrote:
> Hi,
>
> I have recently updated trunk.
>
> I am using a compute function when creating new entries. In the compute
> function I access the field row
Hi,
I have recently updated trunk.
I am using a compute function when creating new entries. In the compute
function I access the field row.email. Previously this was giving me the
*value* of the field, now I just get a reference to "gluon.dal.Field".
Is this expected? How can I access the valu
10 matches
Mail list logo