Possible bug using updateRecord and rdcaccount_id [message #2025] |
Wed, 29 April 2009 13:00 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
Tony,
I think I've discovered a bug, for which I have used a workaround within my code.
I'm updating one or more records from within _cm_post_insertRecord(). However, when calling updateRecord and providing the 'standard' primary key for the table concened, the framework is not adding the rdcaccount_id field that needs to be included, and so updateRecord returns an error as it is not able to find the original record to update (in fact in my case it returns too many records, generating the same error).
This isn't a critical problem as I have just manually added rdcaccount_id into the update_array being passed to updateRecord for now, and that solves the problem for my app. I suspect it is a bug though.
Graham
|
|
|
|