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

CSV export doesn't contain fields manually added in export dialog

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.30.1
    • Component/s: Import/Export
    • None
    • Environment:
      OS Name Microsoft Windows 10 Pro
      Version 10.0.19044 Build 19044
      MongoDB Compass 1.30.1
      MongoDB Atlas - MongoDB 5.0.6 Enterprise
    • Not Needed

      Problem Statement/Rationale

      CSV export doesn't contain fields manually added in export dialog. No matter weather documents contain that field or not.

       

      Steps to Reproduce

      1. open any mongodb collection in Compass
      2. press "Export Collection" button
      3. select "Export Full Collection"
      4. in the select fields dialog add field manually, name it for example "ahoj"
      5. next select CSV output, choose a filename and press EXPORT

      Expected Results

      In the exported CSV file there is "ahoj" column. Either empty or with data from collection.

      Actual Results

      The manually added column "ahoj" is missing in any case.

      Additional Notes

       

        1. image-2022-04-07-12-31-46-703.png
          image-2022-04-07-12-31-46-703.png
          30 kB
        2. logs.txt
          9 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomas.laubr@smart-software.cz Tomáš Laubr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: