[Libreoffice-bugs] [Bug 130745] New: FILEOPEN: Calc not honoring import text dialog column type for empty cells
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 17 20:30:03 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130745
Bug ID: 130745
Summary: FILEOPEN: Calc not honoring import text dialog column
type for empty cells
Product: LibreOffice
Version: 6.3.4.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: rscragun at gmail.com
Description:
Calc does not honor the column type selected in the text import dialog/wizard
for empty cells.
Steps to Reproduce:
1. Paste the following into a text file and save as csv (indents are not part
of the file and are included only to offset the text from the rest of the
post):
Column 1, Column 2
Text 1,1234
Text 2,1973-07-20
Text 3,
Text 4,
2. Open the file with LO Calc (in Windows, right click on the file, select Open
with > LibreOffice)
3. In the "Fields" section of the text import wizard/dialog, select the
top-left box in the sample spreadsheet to select all rows and columns.
4. For "Column type", select "Text".
5. Hit "OK".
6. Check the formats of the cells.
Actual Results:
All cells with contents will be text type. All cells without contents will be
numeric type.
Expected Results:
All cells will be text type. This is particularly obvious for the empty cells
in columns that have other non-empty cells. The fact that the wizard says that
you are setting "column type" suggests that this is a column-specific setting
rather than a cell-with-contents-specific setting.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 6.3.4.2 (x64)
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Example of why this matters:
The only reason I use Calc rather than Excel is that loading a CSV with dates
into Calc without messing them up is much easier. But if empty cells get a
different format from what is expected, there will be errors when I later type
dates into those cells.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200217/37369390/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list