OpenUpSA/wazimap

Table creation only happens after second save

xybrnet opened this issue · 0 comments

When adding a release and DB Table to a Field/SimpleTable, the underlying table in the DB only gets created after the second save.

This happens irrespective of whether the DB Table is created before editing the Field/SimpleTable, or inline while editing the Field/SimpleTable.

This probably happens because the code that creates the underlying db table only gets called when saving the object, and not when creating it.