dr-jb / google-refine

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

Extract JSON pane hidden when Undo history contains long expressions #508

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make some operation on some files
2. try to extract the JSON
3. the wizzard doesn't show you the JSON to copy (see screen shot)

version 2.5 of google refine, google chrome, windows 7. Same issue with Firefox

Original issue reported on code.google.com by christia...@gmail.com on 18 Dec 2011 at 8:28

GoogleCodeExporter commented 8 years ago
Could you be more specific about "make some operation on some files"? Please 
export your project and attach it if possible.

Original comment by dfhu...@gmail.com on 18 Dec 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Hi, 
thanks for your reply.
I mean, you work on a csv by doing some operations (like batch edit, add 
columns, etc...), than you go to undo/redo and click "extract", and there is a 
bug as the JSON script doesn't show up on the right window panel. The popup 
window is clearly messed up as only the left side (with the list of operations 
to select) appears. 

So it is not possible to copy the JSON script and apply it to another project 
(which would be very nice for me to do). The bug is not linked to the 
operations you apply as I had it on several different projects. I will send you 
a screen shoot by email as I cannot attach it here for some reason.

Original comment by christia...@gmail.com on 19 Dec 2011 at 2:52

GoogleCodeExporter commented 8 years ago
Hi, I cannot send you an email neither (your email adress is partially hidden). 
if you try to extract the JSON in the undo/redo section you should see the bug 
(windows 7; Chrome, refine latest version V2.5)

Original comment by christia...@gmail.com on 19 Dec 2011 at 2:54

GoogleCodeExporter commented 8 years ago
I've requested for an increase in the attachment quota. But for now, could you 
export your project as a tar.gz file (use the Export button at the top right 
corner) and post it somewhere? Perhaps dropbox?

Original comment by dfhu...@gmail.com on 19 Dec 2011 at 5:26

GoogleCodeExporter commented 8 years ago
Hi dfhu,

update : i found what is causing the bug : see new steps to reproduce:
enter a very long expression (see example below)
go to undo/redo, then extract
the right window is not showing as the left windows spans to accomodate the 
length of the long expression.

see self explanatory screen shot.

example of long expression : Create column Class at index 1 based on column 
LOCO using expression 
rel:if(contains(value,"BB"),"BB4800",if(contains(value,"G1000"),"G1000",if(conta
ins(value,"G1206"),"G1206",if(contains(value,"G2000"),"G2000",if(contains(toLowe
rcase(value),"euro"),"E4000","")))))

Original comment by christia...@gmail.com on 27 Dec 2011 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the clarification.  That makes it clearer what the problem is.

Original comment by tfmorris on 27 Dec 2011 at 9:31