GNOME Bugzilla – Bug 681346
Individual id can be inconsistent
Last modified: 2012-08-09 15:32:18 UTC
Created attachment 220505 [details] [review] Add one more priority to chosen_persona heuristic for when two personas come from the same store If two personas from the same backend are linked, the Individual id can be either one or the other persona hash depending on the order they are iterated over from the personas set. Even though it's not likely to link two contacts from the same persona store, if/when it happens this causes two subsequent calls to folks-inspect individuals to possibly have different ids. In order to fix this the personas from the same persona store need to have some way of deciding which is preferred in Individual _set_personas. Attached is a patch that adds preference to the persona with the lowest uid alphabetically if personas are from the same persona store.
Review of attachment 220505 [details] [review]: Good catch! Please commit to master. :-)
Pushed to master.