[COMPASS-4256] _id is always exported even when not selected Created: 21/Apr/20  Updated: 22/Aug/22  Resolved: 22/Feb/22

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: 1.25.0, 1.26.0
Fix Version/s: 1.31.0

Type: Bug Priority: Minor - P4
Reporter: Massimiliano Marcon Assignee: Leonardo Rossi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by COMPASS-4461 The _id field cannot be omitted when ... Closed
is duplicated by COMPASS-5509 Export to JSON always exports the _id... Closed
Related
is related to COMPASS-4247 Deselecting fields when exporting a c... Closed
is related to COMPASS-6040 Compass cannot export sub-fields of _id Closed
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Versailles

 Description   

How to reproduce:

  • export a collection
  • select only some fields (but do not select _id)
  • export to CSV or JSON
  • notice that _id has been exported.


 Comments   
Comment by Githook User [ 25/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: 1.31-releases
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

Comment by Githook User [ 23/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: COMPASS-5506-update-item
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: COMPASS-5511-make-connection-form-a-form
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: move-query-history-to-left-of-query-bar
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: remove-bootstrap
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}

Message: fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 (#2800)
Branch: main
https://github.com/mongodb-js/compass/commit/170622c10fc1c4c111935837e2b663779d1268c6

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