This code to automatically "do the right thing" when the primaryKey changes wasn't quite doing the right thing -- by only doing the first half of the remapping, it was actually thwarting future SC.Store.replaceIdFor() calls.
This code to automatically "do the right thing" when the primaryKey changes wasn't quite doing the right thing -- by only doing the first half of the remapping, it was actually thwarting future SC.Store.replaceIdFor() calls.

Eloqua/sproutcore,Eloqua/sproutcore,Eloqua/sproutcore