[Telepathy] [Bug 12791] Invalid handle assertion on connection (Debian bug 446259)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 24 02:11:48 PDT 2008


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





--- Comment #5 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2008-04-24 02:11:47 PST ---
OK, here's the problem (I've added whitespace):

<item subscription='both' name='ingaa' jid='ingaa at jabber.org'>
  <group>Family</group>
</item>
<item ask='subscribe' subscription='none' jid='ingaa at jabber.org/Gaim'/>

We normalize the full JID (with the /Gaim) to the same thing as the bare JID,
meaning there appears to be a duplicate <item>. The first of the duplicate
<item>s has more groups than the second, which is exactly the situation needed
to trigger this bug.

I have a fix for the assertion, on a branch awaiting code review - it should
land in 0.7.4.

(As it stands at the moment, even with my patch applied you'll get odd
behaviour with this roster. I didn't know servers would let you do this... I'll
have to go and re-read the RFC to work out how we should be interpreting it.)


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