Blank results screen when unable to parse document field(s)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • Developer Tools

      When viewing a document with field values that can't be parsed by bson from extended json, like invalid date values (which could have been inputted from another driver), we show a blank screen.
      Compass Data Sets -> berlin.two has a few documents with invalid dates that reproduce this.
      Ideally we should handle these like mongosh would:

      Also reported on github: https://github.com/mongodb-js/vscode/issues/1287 

      Here's what the bug currently looks like:

      If we fully can't show the documents, we should surface the bug to the user.

        1. Screenshot 2026-03-25 at 07.04.47.png
          73 kB
          Rhys Howell
        2. Screenshot 2026-03-25 at 06.52.36.png
          374 kB
          Rhys Howell

            Assignee:
            Rhys Howell
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: