Bug 1626 - Disabling/Reenabling Jabber account adds duplicate entries in Address Book
: Disabling/Reenabling Jabber account adds duplicate entries in Address Book
Status: RESOLVED WORKSFORME
Product: Contacts
General
: 3.1
: N800 All
: Low major with 1 vote (vote)
: ---
Assigned To: rtcomm@maemo.org
: contacts-bugs
:
: moreinfo
:
:
  Show dependency tree
 
Reported: 2007-07-06 21:35 UTC by Jason Carter
Modified: 2008-12-06 15:17 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Jason Carter (reporter) 2007-07-06 21:35:05 UTC
It appears that disabling a Jabber account and then reenabling it afterwards
results in duplicate entries popping up in the Address Book.

My Jabber account has several different types of buddies, including AIM, ICQ,
MSN and Yahoo and Jabber.

Steps to reproduce:

1) Create a Jabber account on a server from a PC.
2) From your PC, add different gateways (AIM, MSN, etc...)
3) Add users.
4) Disconnect and connect with your account on the N800.
5) Click on the Presence status bar icon and choose Account Settings.
6) Disable your Jabber account by unchecking the Enabled box and hitting Close.
7) Wait a little bit, maybe 5 minutes or so and then reenable the account in
the same fashion.
8) Enter the Address Book.

Expected behavior: contacts should not be added.

You should see that each time you go through this process, some duplicates will
be added to the address book each time. I haven't had the time to more
throughly test this bug out and see if it's 100% reproducable (I'm on vacation
and have limited net access over the next week or so). Once I have the time, I
will be investigating this further.
Comment 1 J├Ârgen Scheibengruber nokia 2007-08-06 15:51:44 UTC
Thanks for this bug report! I have never seen this happen myself, though I use
the AB with icq transport quite frequently myself. Could you give some more
details? Especially if this applies to jabber buddies, too, or only buddies
from transports? And are the duplicates exact duplicates or do they differ in
any of the details?
Comment 2 Jason Carter (reporter) 2007-08-06 16:07:27 UTC
I have no jabber buddies currently - only people on the various transports
though I would be happy to test this out with you if you have a jabber account. 

What happens is that it makes an exact duplicate except that it shows the full
Jabber address for the user instead of just their nick. For example, if our
contact is testuser on the AIM transport on the exampletalk.com server
(testuser@aim.exampletalk.com), the contact list will show the following:

Original contact: testuser

If you've triggered this bug, the duplicate user would be listed as:
testuser@aim.exampletalk.com right underneath the original. Both share the same
contact data and user image/avatar.

It's perhaps possible that this is also an error on the Jabber server side. The
Jabber server I am using is jabberquebec.net and my Jabber address is
jay@jabberquebec.net.

Let me know if there's any test cases you'd like to run through. (If you've got
several things you'd like to test out, send me an e-mail and we'll work through
them, case by case, reflashing if needed.)
Comment 3 Jason Carter (reporter) 2007-08-06 16:14:53 UTC
With the MSN transport, it can also be somewhat different. Sometimes the clone
will come up with the username@server.com name, and other times with the full
Jabber address as the name (username%server.com@msn.jabberserver.com).
Comment 4 Andre Klapper maemo.org 2008-07-15 18:32:59 UTC
Is that still an issue on Diablo?
Comment 5 Andre Klapper maemo.org 2008-10-30 00:55:52 UTC
Jason, is that still an issue on Diablo?
Never seen this myself...
Comment 6 Andre Klapper maemo.org 2008-12-04 16:16:44 UTC
Closing as WORKSFORME.