CSV export field selection is broken

XMLWordPrintableJSON

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

      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
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: