[Kmymoney-devel] [kmymoney4] [Bug 328776] New: CSV importer may import certain investment transactions without assigning a brokerage or checking account

allan agander93 at gmail.com
Fri Dec 13 22:30:04 UTC 2013


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

            Bug ID: 328776
           Summary: CSV importer may import certain investment
                    transactions without assigning a brokerage or checking
                    account
    Classification: Unclassified
           Product: kmymoney4
           Version: git master
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: agander93 at gmail.com

Because CSV files, and in particular investment files, have no well-defined
format, it is quite possible for a transaction to have an action type that does
not reflect the quantity, price and amount contents, or even to have an
unrecognised action type.  The importer therefore has to evaluate these fields
and request the user to assign an action type that matches the other fields.
Also, if the action type should involve a brokerage or checking account, the
user should be requested to provide its name.  However, whether or not this is
required is based on the initial action type.  If that initial action type does
not require a brokerage or checking account, then the user will not get to
input the account name.  If subsequently the user is asked to assign the
correct action type, that assigning of the new type does not result in a
re-evaluation of the possible need for the user  to input the account name. 
The transaction will import, but be unbalanced because of the missing asset
account.
A patch is required to deal with this issue.


Reproducible: Always

Steps to Reproduce:
1. Import a CSV investment file with a transaction containing say a quantity,
price and amount, but with an action type of Stock Dividend.
2. When prompted that the action type does not match the other fields,
appropriate types are offered to the user.
3. Select 'Buy' and continue the import process.
4. No asset account name will be requested and the transaction  will be
imported as unbalanced.
Actual Results:  
As above.

Expected Results:  
The reassignment of action type should lead to re-evaluation of the need for an
account name.

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


More information about the KMyMoney-devel mailing list