-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.21.0
-
Component/s: Import/Export
-
None
-
Not Needed
<!--- Please note this repository's Issue Tracker is not being watched.
Issues are instead being tracked in our public Jira project:
https://jira.mongodb.org/projects/COMPASS/summary
-->
<!--- Provide a general summary of the issue in the Title above -->
-
- Feature Request
Defect - Data import does not support nested structures anymore as of 1.21.0
- Feature Request
-
- Detailed Description
<!--- Provide a detailed description of the change or addition you are proposing -->
Since the release of version 1.21.0, when importing data into a collection where the data for a field is a JSON, content for the field is treated as a string by default and none of the selectable field types seem to be for JSON-like objects. This was not an issue on version 1.20.5
- Detailed Description
Here is a screenshot of the newly released import flow and the different selectable field types, in my case the attribute is an array of strings
![image](https://user-images.githubusercontent.com/51335736/80751372-7fd10900-8ade-11ea-944d-97740280a9fa.png)
-
- Context
<!--- Why is this change important to you? How would you use it? -->
As it is working right now, importing an exported collection does not generate as output the same content. This is doable through CLI but it's something that was already supported and now it's not anymore
- Context
-
- Possible Implementation
<!--- Optional: suggest an idea for implementing addition or change -->>
- Possible Implementation