[COMPASS-5707] Select fields not working in MongoDB Compass Created: 08/Apr/22  Updated: 29/Oct/23  Resolved: 17/Nov/22

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: 1.31.1

Type: Bug Priority: Major - P3
Reporter: Jothibasu M Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: macOS


Attachments: PNG File Screenshot 2022-04-08 at 3.27.05 PM.png    
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale


Trying to export the collection with certain fields using MongoDB Compass.
But it always export all the fields even if I unselected some.

Steps to Reproduce

1) Try to export any collection (Eg: users: { _id, name, email, phone })
2) Select only certain fields in export ( Eg: { name, phone } )

Expected Results

[\{ name, phone }, \{ name, phone }, \{ name, phone }]

Actual Results

[\{ _id, name, email, phone }, \{ _id, name, email, phone }, \{ _id, name, email, phone }]

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Rhys Howell [ 17/Nov/22 ]

Thanks for raising the issue and getting back to us jothibasu@smartaudit.co !

Comment by Jothibasu M [ 08/Apr/22 ]

It worked after updating the latest Compass version 1.31.1.

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