CSV export missing fields when depth > 1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.37.0
    • Affects Version/s: None
    • Component/s: Import/Export
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • None

      Steps to reproduce:

      • create an empty collection
      • insert the document
        {"a": {"b": {"c": 1}}}
        
      • export to CSV

      The result will look something like this:

      _id,a.b
      62fb64b8936c42092807675f,
      

      The field selection only shows "a.b" which is ok with JSON cause the projection would effectively export the entire content of `a.b`, with CSV the content is not serialized unless is an Array, and the value is lost.

              Assignee:
              Unassigned
              Reporter:
              Maurizio Casimirri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: