[Bug 20096] New: tp_connection_get_contacts_by_id handles TP_ERROR_INVALID_HANDLE as a fatal error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 13 10:50:40 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20096

           Summary: tp_connection_get_contacts_by_id handles
                    TP_ERROR_INVALID_HANDLE as a fatal error
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: artemgarmash at gmail.com


RequestHandles returns InvalidHanlde when called with invalid handles according
to the spec, but tp_connection_get_contacts_by_id checks for NotAvailable and
InvalidArguments as non fatal errors in the contacts_requested_handles callback
(http://git.collabora.co.uk/?p=telepathy-glib.git;a=blob;f=telepathy-glib/contact.c;hb=bc76737fa3455fcd0d3c93e9b2aaf1b14ae3a9c9#l2115).

TP_ERROR_INVALID_HANDLE should be added to the check as well.


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



More information about the telepathy-bugs mailing list