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

Invalid JSON when exporting a collection

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.21.0
    • Affects Version/s: 1.19.12
    • Component/s: Collection, Compass
    • None
    • Environment:
      Windows 10 Home 20H2 Build 19042.630
    • Not Needed

      Problem Description

      Exporting a collection in JSON produces an invalid .json file: documents are not separated with commas and are not in an array

      Steps to Reproduce

      1. Connect to any non-empty database
      2. Open any non-empty collection
      3. Click 'Collection/Export Collection' in the top menu
      4. Select 'JSON' as the 'Output File Type'
      5. Click 'Browse' and specify any name of the file matching the *.json pattern
      6. Click 'Export'
      7. Open an exported file

      Expected Results

      A valid JSON file is produced: documents are in an array and are separated with commas

      Actual Results

      An invalid JSON file is produced: documents are not in an array and are not separated with commas

            Assignee:
            Unassigned Unassigned
            Reporter:
            guardian.jan@gmail.com Jan Guardian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: