PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #5235

crossLinkExtraFields triggers update instead of insert

Details

Submitted2005-08-29 14:49 UTC
Fromsjoerdvannoort at gmail dot com
StatusNo Feedback
PackageDB_DataObject
PHP Version5.0.4
OSDebian 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.