Bug #411
Creating a record with a given primary key fails
Status:
Closed
Priority:
Normal
Assignee:
Elmer de Looff
Category:
Model
Target version:
-
Description
When the Save
method is called for a newly created Record, this fails if the Primary Key field is already provided, because it tries to update an existing record.
Checking the returned cursor's affected rows
, and inserting the record on a value of 0 should work.
Associated revisions
History
#1 Updated by Elmer de Looff about 13 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
This has been resolved in Underdark:r2984
Fixed the issue where it's impossible to create a new Record with a known primary key. This resolves #411.