[Bug 45403] New: ContactInfo.SupportedFields looks suspicious on my Facebook account

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 30 16:40:31 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45403

             Bug #: 45403
           Summary: ContactInfo.SupportedFields looks suspicious on my
                    Facebook account
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_Info.html#Property:SupportedFields

Here is the value of this property on my Facebook account:

[(u'fn', [], 1L, 1L),
 (u'bday', [], 1L, 4294967295L),
 (u'mailer', [], 1L, 4294967295L),
 (u'tz', [], 1L, 4294967295L),
 (u'title', [], 1L, 4294967295L),
 (u'role', [], 1L, 4294967295L),
 (u'note', [], 1L, 4294967295L),
 (u'prodid', [], 1L, 4294967295L),
 (u'rev', [], 1L, 4294967295L),
 (u'sort-string', [], 1L, 4294967295L),
 (u'uid', [], 1L, 4294967295L),
 (u'url', [], 1L, 4294967295L),
 (u'nickname', [], 3L, 4294967295L),
 (u'x-jabber', [], 1L, 4294967295L),
 (u'x-desc', [], 1L, 4294967295L),
 (u'n', [], 1L, 1L),
 (u'adr',
  [u'type=home',
   u'type=work',
   u'type=postal',
   u'type=parcel',
   u'type=dom',
   u'type=intl',
   u'type=pref'],
  0L,
  4294967295L),
 (u'geo', [], 1L, 1L),
 (u'tel',
  [u'type=home',
   u'type=work',
   u'type=voice',
   u'type=fax',
   u'type=pager',
   u'type=msg',
   u'type=cell',
   u'type=video',
   u'type=bbs',
   u'type=modem',
   u'type=isdn',
   u'type=pcs',
   u'type=pref'],
  0L,
  4294967295L),
 (u'email',
  [u'type=home', u'type=work', u'type=internet', u'type=pref', u'type=x400'],
  0L,
  4294967295L),
 (u'label',
  [u'type=home',
   u'type=work',
   u'type=postal',
   u'type=parcel',
   u'type=dom',
   u'type=intl',
   u'type=pref'],
  0L,
  4294967295L),
 (u'org', [], 1L, 4294967295L)]


I'm pretty sure Facebook doesn't allow us to set all this. Actually, calling
SetContactInfo() raises this error:
error_name=org.freedesktop.Telepathy.Error.NotAvailable reply_serial=310
   string "the feature requested is not implemented by the recipient or server
and therefore cannot be processed"

Also, having a field sharing a billion of 'type=' looks weird as well. Aren't
we supposed to have max one type?
The latter problem doesn't seem specific to Facebook, see
http://willthompson.co.uk/misc/xmpp-personal-info.png

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list