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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: 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
    • None

      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
          30 kB
          _tomas.laubr@smart-software.cz
        2. logs.txt
          9 kB
          _tomas.laubr@smart-software.cz

              Assignee:
              Unassigned
              Reporter:
              Tomáš Laubr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: