Project

General

Profile

Actions

Bug #2463

open

Morpho can't delete or insert columns at right edge of tables with uneven record lengths

Added by Will Tyburczy over 18 years ago. Updated over 18 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
06/16/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2463

Description

To recreate this bug:
- Using a text-editor, create a tab-delimited (or otherwise delimited) file in which lines have different numbers of fields (i.e. if a particular line doesn't have a value for the last field, it simply inserts a newline, without putting in the last tab to signify an empty field).

- Create a dp in morpho and import the file as a dataTable.
- Save the dp (optional)
- Try to delete the one of the rightmost columns (far enough to the right that some of the lines in the file didn't have a tab character recording the value of the field)

The column operation will fail, though if you go into the tree editor at this point you can see that the metadata was changed to reflect the operation. This could lead to the column metadata being mispaired to the corresponding column values.

Morpho should either detect the uneven line lengths and refuse to import the table to begin with (giving the user notification of why), or it should be able to handle subsequent column operations on the table.


Files

fake.tab (46 Bytes) fake.tab Will Tyburczy, 06/16/2006 01:25 PM

Related issues

Is duplicate of Morpho - Bug #2462: Can't delete columns toward end of tableResolvedJing Tao06/15/2006

Actions
Actions

Also available in: Atom PDF