Jan 14, 2010, 4:11 AM
[CLOSED] Store recognizes updated records as created
Hello,
I`ve a problem regarding updating records within a store/grid.
If I add a new record to a grid and then commit it it is submited as a created record to my data handler. That`s ok. If I update the record instantly after the grid was saved+commited the updated record is again submitted as created record to my data handler (even if the grid was commited by calling CommitChanges-Method). That`s a bit strange. I`m using latest SVN Rev 2338. It also doesn`t work with official 0.8.2 release.
I`ve attached a simple sample.
STEPS TO REPRODUCE:
1) Insert a new record the grid by clicking "New", fill in record`s values (arbitrary) and save it
2) Commit grid changes by clicking on "COMMIT"
3) Now open an existing record by double clicking on it, change one(!) of it`s values (arbitrary) and Save updated record
5) Click on "GET CHANGED". You will see a popup appearing displaying the JSON Data of the modified records. The record which was updated is returned within the Created-array misleadingly.
Please can you help me ?
Thx
Peter
I`ve a problem regarding updating records within a store/grid.
If I add a new record to a grid and then commit it it is submited as a created record to my data handler. That`s ok. If I update the record instantly after the grid was saved+commited the updated record is again submitted as created record to my data handler (even if the grid was commited by calling CommitChanges-Method). That`s a bit strange. I`m using latest SVN Rev 2338. It also doesn`t work with official 0.8.2 release.
I`ve attached a simple sample.
STEPS TO REPRODUCE:
1) Insert a new record the grid by clicking "New", fill in record`s values (arbitrary) and save it
2) Commit grid changes by clicking on "COMMIT"
3) Now open an existing record by double clicking on it, change one(!) of it`s values (arbitrary) and Save updated record
5) Click on "GET CHANGED". You will see a popup appearing displaying the JSON Data of the modified records. The record which was updated is returned within the Created-array misleadingly.
Please can you help me ?
Thx
Peter