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

CSV export field selection is broken

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.26.0
    • Affects Version/s: None
    • Component/s: Import/Export
    • Labels:
      None
    • Not Needed
    • Iteration Uglifruit

      Problem Description

      Not all fields included in the Compass export field selection are actually included in the CSV.

      Steps to Reproduce

      1. Insert two documents with distinct keys, e.g.

      {a: 1}

      and

      {b: 2}

      into a new collection.
      2. Export it using Compass.
      3. At the “Select fields” step, both a and b should be listed as keys and checked by default.
      4. Export as CSV to a file.

      Expected Results

      The file contains columns for both a and b.

      Actual Results

      The file only contains a column for a, but not for b.

      Additional Notes

      This is happening on the current (1 Feb) Compass master branch.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: