6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8225] Rdo Mapper update function cannot create new records from Horde_Rdo_Base objects
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . .. .. . |_/ [ __|\ ||\/|| | | \[_./| \|| ||/\|
Comment
> After poking around with this a bit more, I've realized that This > only happens for MySQL tables that have not set their primary key > field to auto_increment. I'm still not convinced it's best form to > dump an empty primary key down an insert statement, but MySQL does > handle this gracefully when the table is an auto_increment table. I > have not tested this on other database server types. Here is example > SQL generated by Horde_Rdo_Adapter::create. > > > > INSERT INTO `mytable` (`mytable_id`, `user_uid`, `title`, > `description`, `created`, `updated`) VALUES (?, ?, ?, ?, ?, ?) > > > > Values Array ( [0] => [1] => admin [2] => actually [3] => do it [4] > => 1240893214 [5] => 1240893214 )
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers