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

Invaid characters on JSON import

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Import/Export
    • Labels:
      None
    • Not Needed

      Problem Description

      While importing a JSON file in compass it is possible to have invalid characters in the document which causes issues later on for example accessing that information is not possible

      Steps to Reproduce

      Start Compass

      Create DB, Collection

      Select Import JSON file

      Pick a malformed file

      Expected Results

      Import should fail providing an error about invalid data inside the file being imported

      Actual Results

      Malformed JSON file gets imported as is

      Additional Notes

      Example file data:

      {

      "asx:abap": {
      "@xmlns:asx": "http://www.sap.com/abapxml",
      "@version": "1.0",
      "asx:values": {}

      }}

        1. bug.png
          bug.png
          9 kB
        2. screenshot-1.png
          screenshot-1.png
          9 kB
        3. screenshot-2.png
          screenshot-2.png
          10 kB
        4. Screen Shot 2022-02-23 at 10.27.45 AM.png
          Screen Shot 2022-02-23 at 10.27.45 AM.png
          86 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            unfold1911@gmail.com John Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: