[Kmymoney-devel] [kmymoney4] [Bug 312877] New: Can create duplicate account

allan agander93 at gmail.com
Tue Jan 8 13:15:36 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=312877

            Bug ID: 312877
           Summary: Can create duplicate account
    Classification: Unclassified
           Product: kmymoney4
           Version: git master
          Hardware: Ubuntu Packages
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: agander93 at gmail.com

I notice that it seems possible, both in mymoneystatementreader.cpp and in
mymoneyqifreader.cpp, to create an account with the same name and type as an
existing account.

> It seems wrong. Are you sure it's not prevented by the engine?
> OTOH, perhaps it's allowed only for imports, in order to allow an import 
> from apps with looser rules.
> 
> Regards,
> Alvaro
> 

No, and mymoneystatementreader.cpp is used not just for imports.  I can create
a duplicate from the UI, too.

I can then enter a transfer transaction between them, so they both seem
functional.

Also, what seems strange is that the new account has as default opening date of
6 April 2014, the start of the next fiscal year here.  In addition, the
transfer I entered to the new account, was accepted with today's date, before
the opening date, although it couldn't then be edited.



Reproducible: Always

Steps to Reproduce:
1.Enter a new account with the same name and type as an existing account.


Actual Results:  
The new account seems fully functional, once the default opening date is
changed to something more sensible.

Expected Results:  
A duplicate account name should be detected.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list