[COMPASS-6644] Not import collection from JSON file Created: 23/Mar/23  Updated: 03/Oct/23  Resolved: 23/Mar/23

Status: Closed
Project: Compass
Component/s: Connection Import/Export
Affects Version/s: 1.36.1
Fix Version/s: 1.36.2

Type: Bug Priority: Major - P3
Reporter: Raúl Jiménez Martínez Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: Windows 11
node.js / npm versions: 8.19.2
Additional info: Compass version: 1.36.1


Attachments: PNG File compass_import_after_select_file.png     PNG File compass_import_select_file.png     PNG File compass_version.png    
Issue Links:
Duplicate
duplicates COMPASS-6629 guessFileType() hangs for JSON files ... Closed
Documentation Changes: Not Needed

 Description   

When I try to import a collection from a valid JSON file, after I select the JSON file the wizzard disappears and any error was found in Compass logs.



 Comments   
Comment by Le Roux Bodenstein [ 23/Mar/23 ]

Thanks for reporting this. Unfortunately there was a bug in the file type detection that we've just fixed. There's a new beta out that contains the fix (https://github.com/mongodb-js/compass/releases/tag/v1.36.2-beta.1) as well as a fix for a separate CSV file related memory leak. We'll get a release out with the fixes ASAP.

Comment by Raúl Jiménez Martínez [ 23/Mar/23 ]

I uninstalled Compass and I installed Compass 1.34.2 and now it works well

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