Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4738

Compass export causing path collision errors

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Import/Export
    • Labels:
      None
    • Not Needed

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: