-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing data from file incorrect for arrays #39
Comments
To reproduce it, I just have to import a document like that : "pages" will contain only one element in the array while using the console. This bug is in the importer. This is the same than #28 I need to understand why the fix for 28 didn't solve this problem.. It seems there are 2 code pass to parse documents (one to edit a document, one to import documents). |
[master 46fd50a] test case for #39 |
Fixed with 2.5.2(96) |
Just checked and it's fixed indeed! |
When importing data from a file created by the export to file functionality, something goes wrong. When a document has an array of subdocuments, then that array is incorrectly imported, causing the array to only have 1 item in it. The MongoHub GUI displays everything correctly though, so this issue isn't apparent. But when you query your collection through the shell or any other client, you can see the difference.
The text was updated successfully, but these errors were encountered: