Creating a table fails when importing from a JSON file with null value
Describe the problem
In the dialog to create a new table, trying to import a JSON file that has a null
field value fails
Steps to reproduce
- Open Create new table dialog
- Select Import JSON file
- Load a JSON file that have a
null
value like the below
[
{"test": null}
]
Actual result
Data is not imported and table is not created.
There's no visible warning
In the DevTools console the following error is logged:
Uncaught TypeError: e[t] is null
NuxtJS 43
8cf96ff.js:1:870293
reload NuxtJS
forEach self-hosted:167
reload NuxtJS
forEach self-hosted:167
reload NuxtJS
reload self-hosted:1121
NuxtJS 5
select self-hosted:1121
NuxtJS 35
Expected result
Data should be imported and table created.
Environment
- Operating System: Windows
- Web Browser: Chrome / Firefox
- Deployment Type: baserow.io
- Baserow Version: Develop / 1.8 / 1.7 / 1.6 etc
Edited by Luiz Américo