Bug 395054 - Column content of a csv export does not match header for some account and/or activity types
Summary: Column content of a csv export does not match header for some account and/or ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: exporter (show other bugs)
Version: 4.7.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-05 12:33 UTC by Ralf Habacker
Modified: 2022-12-26 05:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
csv export (846 bytes, text/csv)
2018-06-05 12:33 UTC, Ralf Habacker
Details
kmymoney test file (40.96 KB, text/xml)
2018-06-05 12:34 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2018-06-05 12:33:28 UTC
Created attachment 113090 [details]
csv export

Exporting an investment account from the appended kmymoney test file (test.xml) to a csv file (see appended test.csv) generates a file where the content column does not match the related header column.

How to reproduce:
1. open appended test.csv with with libreoffice

What happens ?
Line 7-8, 10 and 12 does not match the header. Also the number of columns in each content line is one higher than the number of columns in the header line.

What is expected ?
The columns of the content line should match the related header column
Comment 1 Ralf Habacker 2018-06-05 12:34:19 UTC
Created attachment 113091 [details]
kmymoney test file

Export account "invest" to generate the example csv file
Comment 2 Ralf Habacker 2018-06-05 13:36:19 UTC
Git commit 3a89db9fac1294a1bc3cfe09551caeef40572bde by Ralf Habacker.
Committed on 05/06/2018 at 13:01.
Pushed by habacker into branch '4.8'.

Fix writing correct number of columns for investment transactions to csv file

M  +10   -1    kmymoney/plugins/csvexport/csvwriter.cpp

https://commits.kde.org/kmymoney/3a89db9fac1294a1bc3cfe09551caeef40572bde
Comment 3 Ralf Habacker 2018-06-05 13:39:48 UTC
Git commit 8b52797a5c960966988ff04d85593e7af0287af9 by Ralf Habacker.
Committed on 05/06/2018 at 13:39.
Pushed by habacker into branch '4.8'.

Remove superfluous column from end of non investment lines in generated csv file

M  +6    -5    kmymoney/plugins/csvexport/csvwriter.cpp
M  +2    -2    kmymoney/plugins/csvexport/csvwriter.h

https://commits.kde.org/kmymoney/8b52797a5c960966988ff04d85593e7af0287af9
Comment 4 Justin Zobel 2022-11-26 00:13:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-12-11 05:07:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-12-26 05:21:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!