After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652807 - Add a method to return a Persona UID which is useful for external references to an Individual
Add a method to return a Persona UID which is useful for external references ...
Status: RESOLVED WONTFIX
Product: folks
Classification: Platform
Component: libfolks
git master
Other All
: Normal enhancement
: Unset
Assigned To: folks-maint
folks-maint
Depends on: 652660
Blocks:
 
 
Reported: 2011-06-17 08:53 UTC by Philip Withnall
Modified: 2012-07-18 22:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2011-06-17 08:53:42 UTC
+++ This bug was initially created as a clone of Bug #652660 +++

Change it to be a stable hash of the UIDs of the personas in the individual's persona set.

Advise clients that the ID may change over time if the individual is subsequently linked to another individual. Advise that they should use the most relevant persona's UID instead if they want the link to persist over time (e.g. when tagging photos).

Cloned:

> +   * instead. For example, if storing references to Individuals who are tagged
> +   * in a photo, it may be safer to store the UID of the Persona whose backend
> +   * provided the photo (e.g. Facebook).
> 
> We should provide a utility function for this. Letting applications run wild
> with their own heuristic seems like trouble waiting to happen.
> 
> (This is the reason for the needs-work review status)

As discussed at the hackfest, we'll defer this until someone actually wants to use such an API and we have a real life use case to test.
Comment 1 Jeremy Whiting 2012-07-18 18:51:28 UTC
Philip,

This is exactly the same bug as the one the zeitgeist guys wanted that we closed until further asked for, right?  If so we should close this also unless someone specifically asks for it in my opinion.
Comment 2 Philip Withnall 2012-07-18 22:42:47 UTC
(In reply to comment #1)
> This is exactly the same bug as the one the zeitgeist guys wanted that we
> closed until further asked for, right?

Pretty much. The documentation for Individual.id already includes a note about this, so I agree that the bug can be closed until someone asks for it.