Tyrantxiang / google-refine

Automatically exported from code.google.com/p/google-refine
Other
0 stars 0 forks source link

Column is lost when moved out of range, no undo possible #603

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new project with the following (tab-separated) text in the 
clipboard:
Column1 Column2
v1  v2
v3  v4

2. Parse data as "CSV / TSV / separator-based files", with default settings.

3. In "Undo / Redo", apply the following:
[
  {
    "op": "core/column-move",
    "description": "Move column Column1 to position 4",
    "columnName": "Column1",
    "index": 4
  }
]

What is the expected output?
The expected result should be either an error or Column1 moving to the right of 
Column2 and a new operation being registered in "Undo / Redo".

What do you see instead?
Instead, no error is signaled, Column1 disappears, and no new operation is 
registered in "Undo / Redo".

What version of Google Refine are you using?
2.5

What operating system and browser are you using?
Mac OS X 10.7.4
Chrome 21.0.1180.75

Is this problem specific to the type of browser you're using or it happens
in all the browsers you tried?
I tried Safari 6.0 (7536.25), with the same results.

Original issue reported on code.google.com by palpalpa...@gmail.com on 14 Aug 2012 at 12:02

GoogleCodeExporter commented 8 years ago
Thanks for the detailed step-by-step.  Sorry about the problem.  Increasing 
priority since it represents potential data loss.

Original comment by tfmorris on 14 Aug 2012 at 7:33

GoogleCodeExporter commented 8 years ago
Where in the GUI did you do the manipulation which resulted in that JSON for 
the operation?  I'm not seeing anything which would allow you to move a column 
out of range.

Original comment by tfmorris on 18 Aug 2012 at 9:59