Home » Database » DB_DataObject » Bug #5235
crossLinkExtraFields triggers update instead of insert
Details
| Submitted | 2005-08-29 14:49 UTC |
|---|---|
| From | sjoerdvannoort at gmail dot com |
| Status | No Feedback |
| Package | DB_DataObject |
| PHP Version | 5.0.4 |
| OS | Debian sarge |
| Roadmaps | (Not assigned) |
Comments
[2005-08-29 14:49 UTC] sjoerdvannoort at gmail dot com
Description:
------------
When using a crosslink with a crossLinkExtra boolean field in the crosslink table Formbuilder tries to update the crosslink table instead of insert. This ofcourse fails when the record in the crosslink table doesn't exist jet. Formbuilder does not generate an error.
When the crosslinkExtrafield is removed in works fine (with an insert).
formbuilder version 0.18.1
[2005-08-31 11:46 UTC] sjoerdvannoort at gmail dot com
Yes I do have a double key. I understand now that this is a DB_DataObject problem. This should be fixed because it leads to bad database design.