Bug 311252

Summary: Creating account with existing name just modify the existing one
Product: [Applications] skrooge Reporter: Mickaël <mprizee>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: minor CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mickaël 2012-12-06 13:44:21 UTC
When creating a new account in Skrooge and giving it a name already used, it doesn't display an error but just modify the existing one (bank's name, etc...)

When renaming an account with a name already in use, it directly shows the MySQL error.

Reproducible: Always

Steps to Reproduce:
1. Create an account AA
2. Create a second account with another bank for example, named AA


Expected Results:  
Display a message warning that it is forbidden to use the same name for both of the accounts.
Comment 1 Stephane MANKOWSKI 2012-12-19 17:29:15 UTC
Git commit 78e28f8ea69514c07e87a8dc9cb30a02b0076d6d by Stephane Mankowski.
Committed on 19/12/2012 at 18:28.
Pushed by smankowski into branch 'Feature'.

M  +1    -0    CHANGELOG
M  +1    -1    plugins/skrooge/skrooge_bank/skgbankpluginwidget.cpp
M  +2    -0    skgbasemodeler/skgservices.cpp

http://commits.kde.org/skrooge/78e28f8ea69514c07e87a8dc9cb30a02b0076d6d