[COMPASS-3727] Can't Import JSON Created: 25/Jun/19  Updated: 07/Apr/23  Resolved: 16/Aug/19

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.18.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Yaoxing Zhang Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File CompassExport.json     File CompassExportBug.mov     File trips.json    
Issue Links:
Problem/Incident
causes COMPASS-3755 Improve importing invalid JSON Closed
Tested
tested by COMPASS-3824 Test behavior of new feature in relat... Closed

 Description   

Hi guys,

I'm using Compass to import sample collection from our training course, trips.json. Compass gave me error "Unexpected end of JSON input". The same json however, can be imported via `mongoimport`. Seems like something is wrong.

I'm using Compass 1.18.0 on MacOS 10.14.5



 Comments   
Comment by Massimiliano Marcon [ 16/Aug/19 ]

We are reimplementing the import/export feature so we won't fix existing bugs. However, we will use existing bugs as a guideline for testing the new implementation.

Comment by Rodrigo Nascimento [ 05/Jul/19 ]

I'm facing the same issue.

I'm trying to import a file containing an array of documents and Compass keep letting me down. 

mongoimport works just fine. 

Generated at Wed Feb 07 22:34:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.