Bug 277845

Summary: accounts-kcm allows creation of duplicate account
Product: [Frameworks and Libraries] telepathy Reporter: Karan Pratap Singh <wizard.karan>
Component: accounts-kcmAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: kde
Priority: NOR    
Version: git-latest   
Target Milestone: 0.4.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The Duplicate Account can be seen in this screenshot!

Description Karan Pratap Singh 2011-07-15 17:02:35 UTC
Created attachment 61896 [details]
The Duplicate Account can be seen in this screenshot!

Version:           git-latest (using Devel) 
OS:                Linux

When I create an account using the add account wizard in accounts-kcm, and if I am entering the same details as an existing account, then the accounts-kcm creates the duplicate account, which appears as disconnected.

Reproducible: Always

Steps to Reproduce:
Just add a new account and enter the same username and password as an existing account.

Actual Results:  
accounts-kcm creates a duplicate account blindly.

Expected Results:  
accounts-kcm should at least check if an account with the same details is already present in the accounts list or not. If an account is already present, then accounts-kcm should not let a duplicate one to be added.

I will be very grateful if this bug is solved soon...KDE Plasma Educational Desktop's authorization feature may depend on it!
Comment 1 Francesco Nwokeka 2011-10-25 09:58:44 UTC
Git commit bf294eaef7f8f68b3fcc9fddaf3cfce6f112bedc by Francesco Nwokeka.
Committed on 25/10/2011 at 11:58.
Pushed by nwokeka into branch 'master'.

Fix creation of duplicate accounts

duplicate accounts can't be created anymore.
BUG: 277845
REVIEW: 102962
Reviewed By: Martin Klapetek

M  +11   -2    src/add-account-assistant.cpp

http://commits.kde.org/telepathy-accounts-kcm/bf294eaef7f8f68b3fcc9fddaf3cfce6f112bedc