Bug 249880

Summary: Registering Account creates account with name "akonadi_imap_resource"
Product: [Applications] KMail Mobile Reporter: Felix Wolfsteller <felix.wolfsteller>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 251823    

Description Felix Wolfsteller 2010-09-02 12:46:53 UTC
When creating the inital account, it will show up as "akonadi_imap_resource".
Once, "Edit Account" is chosen, the name defaults to "IMAP Account" and the account will be renamed when pressing OK.

The account should be displayed as "IMAP Account" (or maybe better "IMAP Account 1") as a default.

Found in 4:4.5~20100902.1170752-1maemo1.1170522 .
Comment 1 Volker Krause 2010-09-07 10:46:17 UTC
SVN commit 1172425 by vkrause:

- only show the personal data and ISPDB page when setting up email
  accounts
- adjust the Kolab wizard to also query all relevant information when
  not setting up an email account
- bring back Kolab server name guessing
- enable Sieve by default on Kolab accounts
- remove pre-4.5 compat code
- set correct IMAP account name in Kolab wizard

BUG: 249880


 M  +10 -9     accountwizard/dialog.cpp  
 M  +4 -5      accountwizard/personaldatapage.cpp  
 M  +0 -3      accountwizard/providerpage.cpp  
 M  +0 -5      accountwizard/providerpage.h  
 M  +17 -1     accountwizard/setupmanager.cpp  
 M  +7 -3      accountwizard/setupmanager.h  
 M  +49 -9     resources/kolabproxy/wizard/kolabwizard.js  
 M  +45 -15    resources/kolabproxy/wizard/kolabwizard.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1172425
Comment 2 Felix Wolfsteller 2010-09-21 09:57:26 UTC
Still observed in 4:4.5~20100920.1177660-1maemo1.1177547 .
I added a second (bogus) account with same results as described above.
Comment 3 Kevin Ottens 2010-09-22 13:58:06 UTC
SVN commit 1178219 by ervin:

Don't automagically set the resource name from the setup dialog anymore.
Instead do that from the resource constructor itself, also try to be
clever and provide some numbering by hijacking the agentsrc
InstanceCounter.

BUG: 249880


 M  +19 -0     imapresource.cpp  
 M  +0 -2      setupserver.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1178219
Comment 4 Felix Wolfsteller 2010-10-25 09:46:36 UTC
Confirming fix, version 4:4.6~20101025.1189387-1maemo1.1188357 .