[Bug 29485] New: gateways plugin doesn't wait for success

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 10 15:23:35 CEST 2010


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

           Summary: gateways plugin doesn't wait for success
           Product: Telepathy
           Version: 0.9
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: lowest
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


If you give the wrong password for a Jabber transport, sidecar.Register() still
succeeds (before the plugin actually knows whether the registration has
succeeded or failed). It should fail.

However, this isn't trivial to do, because it involves a presence exchange
which isn't directly a reply - it'll need some sort of mechanism for expecting
the presence exchange to happen, and timing out and failing if it doesn't
happen within n seconds.

See also this comment in plugins/gateways.c:

      /* Eventually, we'll return success from the D-Bus method call here. */

-- 
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