[COMPASS-4738] Compass export causing path collision errors Created: 29/Mar/21  Updated: 03/Dec/21  Resolved: 03/Dec/21

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

Type: Bug Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Documentation Changes: Not Needed

 Description   

When exporting we use a projection to include all the fields selected by the user. This happen even if the user selects ‘all the fields’. It appears the projection we build can include the same path twice, for example:

{ caseManager: 1, caseManager._id: 1 }

> Hi team! IHAC who tried to export 2 collections and received a “path collision” error. They tried to export all of the fields as a JSON file.
In the landholdings collection, the error was Path collision at address._id remaining portion _id , and for the landcarers collection, the error was Path collision at caseManager._id remaining portion _id.



 Comments   
Comment by Julian Zhu [ 12/Jul/21 ]

Same issue for us:

 
Path collision at mailingAddress._id remaining portion _id
 

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