Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.8.0
-
None
-
None
Description
After having exported a notebook from Zeppelin, I wanted to import it to Zeppelin.
I clicked on the import button and selected my JSON file but it failed and displayed the error message "Invalid JSON".
I tried to fix it and I figured out that the method "JSON.stringify" was probably applied twice to the content of the JSON file when saving it.
So, in the import file (https://github.com/apache/zeppelin/blob/master/zeppelin-web/src/components/note-import/note-import.controller.js), I changed "JSON.parse(result)" into "JSON.parse(JSON.parse(result))" and it fixed the problem.
Will this be fixed in a future version ?