Bug 280127 - Account opening date is false when importing files w/o opening balance transaction
Summary: Account opening date is false when importing files w/o opening balance transa...
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 14:52 UTC by Thomas Baumgart
Modified: 2020-01-17 18:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Sample file creating a new account with a transaction before the opening date (159 bytes, application/x-qw)
2020-01-17 18:58 UTC, Thomas Baumgart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Baumgart 2011-08-15 14:52:04 UTC
Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

When importing transactions from another application using QIF, the account opening date is set to today's date when the import data does not contain an opening balance transaction.

Reproducible: Always

Steps to Reproduce:
Import a QIF file into a new account w/o opening balance transaction and a single transaction in the past.

Actual Results:  
The opening date for the account is set to today and you cannot edit the transaction with a post date in the past.

Expected Results:  
In such a case, set the account opening date to the date of the first transaction. It's not accurate but the best we could do without causing trouble to modify the transactions.
Comment 1 Jack 2014-09-14 00:54:39 UTC
Is this in any way related to the recent message regarding bug 323480?  Separately, I believe there was a request to the mailing list to allow setting a default opening date for accounts (as a KMM configuration option) mainly to handle issues such as this, although that does not address the opening balance issue.
Comment 2 Jack 2020-01-17 18:14:36 UTC
Has this been resolved by changes to the opening date handling?  I'm not sure of an easy way to test.
Comment 3 Thomas Baumgart 2020-01-17 18:58:46 UTC
Created attachment 125202 [details]
Sample file creating a new account with a transaction before the opening date

I just duplicated the problem with the attached file.