Project

General

Profile

Bug #411

Creating a record with a given primary key fails

Added by Elmer de Looff over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Elmer de Looff
Category:
Model
Target version:
-
Start date:
2011-10-01
Due date:
% Done:

100%

Estimated time:
Spent time:

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

Revision 100:260c1471ff6f (diff)
Added by Elmer de Looff over 12 years ago

Fixed the issue where it's impossible to create a new Record with a known primary key. This resolves #411.

History

#1 Updated by Elmer de Looff over 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This has been resolved in Underdark:r2984

Also available in: Atom PDF