GNOME Bugzilla – Bug 731519
only 1000 transactions imported from CSV file
Last modified: 2018-06-29 23:31:17 UTC
If a CSV file of transactions contains more than 1000 lines, only the first 1000 are imported. Steps to reproduce: - create CSV file containing more than 1000 transactions - File -> Import Transactions from CSV - Select file - Forward - Observe that all transactions in file are shown in list box - Allocate columns - Forward - Create new account and select it - Forward - Forward - Observe that only the first 1000 lines are shown in the Match Transactions list - Apply - Observe that only the first 1000 transactions have been imported into the new account
Created attachment 286512 [details] [review] Changes upper limit of spin buttons This patch changes the upper limit of the row spin buttons from 1000 to 10,000 so it will import max of 10,000 rows.
Thanks for making the change, Bob. But why is there an upper limit at all? I can't think of a use case where you only want to import the first N records from a file. Why not get rid of the limit entirely? Graham
Created attachment 286621 [details] [review] Changes upper limit of end row spin button in the correct order After another look, I found that the setting of the end row value was before the setting of the upper limit and so was restricted to the value set in the glade file. This fix swaps them around. Bob
Comment on attachment 286621 [details] [review] Changes upper limit of end row spin button in the correct order Good catch Bob! Thank you for that patch.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=731519. Please update any external references or bookmarks.