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 tshirts that have this color will break with the error message:
"using a recursive select but encountered a broken reference"
So the delete() is not putting NULL on the reference...
This is a bug right? Not the correct behavior...
I was using list:reference b/c it seems much easier than building 3 tables... but now I am not sure if it is good to be used once it is not "automatic"...