Defect #14
Emtpy Related Entity's Table
| Status: | Accepted | Start date: | 08/30/2009 | |
|---|---|---|---|---|
| Priority: | Urgente | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - |
Description
For now KOW_View.Entities raises an exception when trying to edit/create an entity with foreign key for an entity whose table is empty.
This should be addressed by showing an empty list.
It depends on having null value support (#13)
History
Updated by Marcelo Coraça de Freitas about 2 years ago
- Status changed from New to Accepted
- Priority changed from Normal to Urgente
Updated by Marcelo Coraça de Freitas about 2 years ago
now there is no exception being raised, but the form doesn't work as there is no entity related in the foreign key property. It has to be fixed!
Updated by Marcelo Coraça de Freitas 11 months ago
in order to maintain database consistency we should implement two things:
1. required parameter in the property (with obvious meaning)
2. null_value, which should be something like -1 in the database backend (or even null... I have to take a look at the API).
Both things are really easy to implement if it's going to be implemented in only this property. It should be a pain to implement globaly though.
For now it's not really required in our application. So it will sit waiting for now.