Bug 311252 - Creating account with existing name just modify the existing one
Summary: Creating account with existing name just modify the existing one
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 13:44 UTC by Mickaël
Modified: 2012-12-19 17:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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