ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • 1.49.15
    • Affects Version/s: 1.49.14
    • Component/s: None
    • None
    • Environment:
      OS: Windows 11
      node.js / npm versions: Embedded in 1.49.x
      Additional info:
    • Not Needed
    • None
    • Developer Tools

      Problem Statement/Rationale

      Copy to clipboard seems to NOT copy the output Json  correctly. 

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      1. Query any result from MongoDB compass
      2. Click copy to clipboard
      3. Paste the string on any text editor

      Expected Results

      The string from the copy to clipboard should be a valid JSON.

      Actual Results

      The copied string is not a valid JSON

      1. All of the double quoted strings are converted to single quoted strings
      2. The keys are without quotes 

      Additional Notes

      In an earlier stable version (Like 1.43.0) the copy to clipboard was always having a valid string

            Assignee:
            Unassigned
            Reporter:
            Omkar Mohanty (EXT)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: