Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-16 Thread Martin Weissenboeck
Done: Issue 29 https://code.google.com/p/pyfpdf/issues/detail?id=29: on error IS_LIST_OF() changes the value of INPUT 2012/9/16 Massimo Di Pierro massimo.dipie...@gmail.com Definitively a problem with the widget. Please open a ticket about it. On Saturday, 15 September 2012 17:01:44 UTC-5,

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-16 Thread Massimo Di Pierro
You opened a pyfpdf issue. You may want to close it. I moved it to web2py issue 1010 and I think I have a fix in trunk. Can you check? http://code.google.com/p/web2py/issues/detail?id=1010 On Sunday, 16 September 2012 01:03:19 UTC-5, mweissen wrote: Done: Issue 29

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-16 Thread Martin Weissenboeck
I used my small test-program and the admin-application. Yes, now I can change an existing record without an error. And a wrong email-address show an appropriate message. Then I tried to add a new row and I got: type 'exceptions.TypeError' object of type 'NoneType' has no len() Function argument

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-16 Thread Massimo Di Pierro
fixed On Sunday, 16 September 2012 13:28:55 UTC-5, mweissen wrote: I used my small test-program and the admin-application. Yes, now I can change an existing record without an error. And a wrong email-address show an appropriate message. Then I tried to add a new row and I got: type

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-16 Thread Martin Weissenboeck
Ok, no more problems. Thank you! 2012/9/16 Massimo Di Pierro massimo.dipie...@gmail.com fixed On Sunday, 16 September 2012 13:28:55 UTC-5, mweissen wrote: I used my small test-program and the admin-application. Yes, now I can change an existing record without an error. And a wrong

[web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-15 Thread Massimo Di Pierro
I cannot reproduce this: IS_EMAIL()('x') ('x', 'enter a valid email address') IS_EMAIL()('x...@x.com') ('x...@x.com', None) IS_LIST_OF(IS_EMAIL())(['x']) (['x'], 'enter a valid email address') IS_LIST_OF(IS_EMAIL())(['x...@x.com']) (['x...@x.com'], None) IS_LIST_OF(IS_EMAIL())(['x#x.com'])

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-15 Thread Martin Weissenboeck
Sorry, I did not mention: I did not use a form, I have used the admin interface to insert and update the records. I have tried it twice: first with my real program and second with the small program I have sent. Now I have added this function: def em(): form=SQLFORM(db.address) if

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-15 Thread Massimo Di Pierro
Definitively a problem with the widget. Please open a ticket about it. On Saturday, 15 September 2012 17:01:44 UTC-5, mweissen wrote: Sorry, I did not mention: I did not use a form, I have used the admin interface to insert and update the records. I have tried it twice: first with my real

Re: [web2py] Re: Problem with validator IS_LIST_OF(IS_EMAIL())

2012-09-15 Thread Bruno Rocha
I have the exact same problem, but it is with tags widget. I tried a lot but did not found the way to solve it :/ BEFORE VALIDATION ERROR: [image: Inline image 1] AFTER VALIDATION ERROR [image: Inline image 2] --