After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 135523 - Text import drops extra columns that are added a long way down file
Text import drops extra columns that are added a long way down file
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.2.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-02-26 18:32 UTC by Luke Hutchison
Modified: 2009-06-11 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luke Hutchison 2004-02-26 18:32:45 UTC
I have a text file I'm importing that is very long (over 10,000 rows).  The
number of columns varies all the way down the file, but there are 2 columns
for most of the file, and then 3 columns near the bottom.

During the text export stage, Gnumeric detects that there are 2 columns (in
how ever many rows at the top of the file it looks at), which I don't have
a problem with, because examining the whole file would probably take to
long.  However, when importing the file, the region of the file with 3
columns has the 3rd column completely dropped, presumably because only 2
columns were visible in the top part of the file.

Expected behaviour:
If extra columns are found than were originally determined, they should
just be added with General format type (or perhaps parsed to see if they
are text or numbers).  The data shouldn't just be dropped.
Comment 1 Andreas J. Guelzow 2004-02-27 07:37:16 UTC
Hmm, You may have noticed that yo can choose which columns to import.
You apparently did not choose that third column to import (of course
you are not even given that opportunity). The default assumption is
that you only want to import checked columns. Perhaps that needs to be
changed.
Comment 2 Luke Hutchison 2004-02-27 16:06:03 UTC
I don't understand the general value of making the default "import
everything, including columns I uncheck".

Columns that were not detected initially are a special case -- they
should probably always be tacked onto the side, I would think -- then
the user can decide what to do with them.
Comment 3 Morten Welinder 2009-06-11 15:20:35 UTC
I just fixed a problem with empty columns.

In "separated" mode we detect all three columns.

In "fixed" mode you need to add the third column by hand.  (And now you
actually can do that.)

I see nothing further wrong at this point.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.