-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Import/Export
-
Labels:None
-
Not Needed
Problem Description
While importing a JSON file in compass it is possible to have invalid characters in the document which causes issues later on for example accessing that information is not possible
Steps to Reproduce
Start Compass
Create DB, Collection
Select Import JSON file
Pick a malformed file
Expected Results
Import should fail providing an error about invalid data inside the file being imported
Actual Results
Malformed JSON file gets imported as is
Additional Notes
Example file data:
{
"asx:abap": {
"@xmlns:asx": "http://www.sap.com/abapxml",
"@version": "1.0",
"asx:values": {}
}}