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

Syntax error raised during import does not indicate line in the file where the parsing failed

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Import/Export
    • None

      This is a problem that makes troubleshooting for import problems to be rather hard. At present, if one of the documents in the JSON file that is being imported cannot be parsed, the error only indicates position within the current document where the parsing failed. It does not help to figure out where the problem is in the file because there is no offset (line number) indicated for the file:

        1. scr.png
          36 kB
          Dmitry Ryabtsev
        2. scr_2.png
          40 kB
          Dmitry Ryabtsev

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: