[Bug 40797] New: TpConnection: potential race when preparing roster contacts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 12 13:05:23 CEST 2011


           Summary: TpConnection: potential race when preparing roster
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: xclaesse at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org

When TpConnection's status change to CONNECTED, it is re-introspected. That
introspection will get supported contact attribute interfaces. If it gets
ContactListState SUCCESS before re-introspection finished, supported ifaces
could be missing when preparing the TpContact objects and so all features could
not be prepared.

According to Will, it is fine now to give unsupported ifaces to
GetContactAttributes, so I suggest fixing this by just requesting all wanted
attributes instead of filtering on supported ones.

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