Bug 76441

Summary: Registering new Account dialog in Jabber does not update username
Product: [Applications] kopete Reporter: Renato Machado de Sousa <rmsousa>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Renato Machado de Sousa 2004-02-29 20:01:46 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources

If I type a username (say oldname@jabber.org) in the textbox, then click register new account, then cancel it (or the registering fails), and then change the username to newname@jabber.org and click register new account again, the textbox in the register dialog shows oldname@jabber.org
Comment 1 Patrick 2004-03-05 00:17:13 UTC
Confirming...
And it's even worse than that: it's not only the username in the new dialog box that is not updated; the username being sent to the server remains the old one you introduced. And now suppose that you set "remember password", you won't even see that it's the old one that is sent.
Comment 2 Till Gerken 2004-03-10 00:14:49 UTC
CVS commit by gerken: 

Creating a "mini client" in the edit account widget for registering new
accounts. Ripped out all the registration stuff from the main account class.
This should fix the messy account instantiation and configuration writing
once and for all.
CCMAIL: 76441-done@bugs.kde.org, 76440-done@bugs.kde.org


  M +107 -139  jabberaccount.cpp   1.88
  M +12 -8     jabberaccount.h   1.36
  M +1 -0      ui/Makefile.am   1.29
  M +267 -5    ui/jabbereditaccountwidget.cpp   1.31
  M +19 -1     ui/jabbereditaccountwidget.h   1.12