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

2014-03-20 Thread André Kablu
I have 2 tables, using sqlite: db.define_table('color', Field('color', 'string')) db.define_table('tshirt', Field('name', 'string'), Field('colors', 'list:reference color', ondelete=SET NULL)) When I delete a color, all

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

2014-03-20 Thread André Kablu
I have 2 tables, using sqlite: db.define_table('color', Field('color', 'string')) db.define_table('tshirt', Field('name', 'string'), Field('colors', 'list:reference color', ondelete=SET NULL)) When I delete a color, all