Re: [web2py] Re: list reference with ondelete=set null breaking when delete parent

2014-03-20 Thread Kablu®
I will migrate it later to mongodb, but wanted it to work on sqlite too for dev, and not have to create a lot of validators on each delete or update. That`s why I was wondering if web2py can handle this transparently. On Thu, Mar 20, 2014 at 4:07 PM, Leonel Câmara wrote: > I think you should h

Re: [web2py] Re: list reference with ondelete=set null breaking when delete parent

2014-03-21 Thread Kablu®
I think you are mistaken... ondelete is for use with upload and reference fields... http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor On Fri, Mar 21, 2014 at 1:54 PM, PN wrote: > Your desired behavior is that when a color is deleted it should be s

Re: [web2py] Re: ERROR when MYSQL try to CAST() to LONGTEXT

2014-06-14 Thread Kablu®
Thanks Massimo! The fix is working fine! On Sat, Jun 14, 2014 at 12:39 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Yes. Is this sufficient? > > https://github.com/web2py/web2py/blob/master/gluon/dal.py#L2671 > > > On Friday, 13 June 2014 12:25:15 UTC-5, André Kablu wrote: >>

Re: [web2py] Re: After update 2.9.12, response.json is messing the screen

2015-01-21 Thread Kablu®
I was expecting someone tell me that I am using it wrong :) Since it was there and I was using it (wrong or not) for past 2 years... I was not expecting its behavior to change... And I always consider testing my apps with trunk... bug I was focusing tests on DAL... sometimes we don`t have much ti