Summary: | CSV Filter Option for quoting everything is ignored | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Andy <andy> |
Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | himajin100000, ilmari.lauhakangas, tabe, xiscofauli |
Priority: | medium | ||
Version: | 5.2.6.2 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=132429 | ||
Whiteboard: | target:6.3.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 109239 | ||
Attachments: |
Spreadsheet with Makro that will export 2 CSV to /tmp/
a fixed test case |
Description
Andy
2017-03-21 15:30:57 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. Created attachment 138470 [details]
Spreadsheet with Makro that will export 2 CSV to /tmp/
VoilĂ , I uploaded a test spreadsheet with a piece of Makro code.
There is text fields and number fields. The makro will export one CSV with parameter 8=false, and one with 8=true.
You'll see that there is no difference in the exported CSV files.
If you're not on a Unix system, you might need to adjust the path. Currently it's /tmp/.
Thanks for checking.
Reproduced. Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: 1390c91c7584a89298906849cdabae131f8a6191 CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded Built on December 14th 2017 ** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug I just ran the demo macro with my latest lo, and the bug persists. Version: 6.1.2.1 Build-ID: 6.1.2.1-3.fc29 CPU-Threads: 4; BS: Linux 4.19; UI-Render: Standard; VCL: gtk3; Gebietsschema: de-DE (de_DE.UTF-8); Calc: group threaded Thanks very much for looking into that some when. FYI: https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh.cxx?r=ab9b67bb#2133 https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh.cxx?r=ab9b67bb#2187 Created attachment 147811 [details] a fixed test case Found that LibO's CSV filter had not handled the 8th token ever. I have implemented the feature described in <https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options#Token_8.2C_csv_export> and submitted the patch for review: <https://gerrit.libreoffice.org/#/c/65604/> Besides, I also found that the test macro attached by Andy has a flaw which has not Join()'ed 8th token into Propval(1). Attached an ods with a fixed macro, in which the option "save cell as shown" (9th token) is given false, because my implementation makes the true value of the 9th token take priority over the false value of the 8th. Takeshi Abe committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/86501f577638b44042c35e601d13651992b64fd5%5E%21 tdf#106678 Implement CSV filter option's 8th token It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |