After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567166 - Trying to register an unavailable jid gives confusing errors.
Trying to register an unavailable jid gives confusing errors.
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Accounts
2.25.x
Other Linux
: Normal minor
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-01-09 15:40 UTC by Will Thompson
Modified: 2012-06-20 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Thompson 2009-01-09 15:40:46 UTC
If I tell Empathy to register me a new jid, but that jid is in use, Gabble returns Name_In_Use when you try to connect to it with register: True. (Which I think is the right error, but that could be discussed.) Empathy just shows it up as a regular error in the contact list; that is:

= | Jabber (foo@bar.com)         X
    Name in use

It should probably special-case errors in the case where register is True and show the errors right there in the Accounts dialog.

(I think there's an existing bug about Empathy not unsetting register sometimes, but I couldn't find it. That's what triggered this behaviour for me, anyway.)
Comment 1 Xavier Claessens 2009-01-09 16:15:34 UTC
The bug of Empathy not unsetting the register is closed because it is MC's responsability and latest MC 4.x does it right AFAIK.

We could give a more detailed message, you are right. However I think Name in user is returned for either your case, or if the jabber's resource is already connected IIRC.
Comment 2 Will Thompson 2009-01-09 17:45:34 UTC
Indeed it is, but the two cases can be distinguished by the 'register' parameter.
Comment 3 Will Thompson 2012-06-20 11:00:09 UTC
Empathy no longer supports registering new XMPP accounts. :(