Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-276

Cannot open documents with a slash in _id

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.6.14
    • Affects Version/s: None
    • Component/s: Playgrounds
    • None
    • 3
    • Iteration Johannesburg, Iteration Kampala, Iteration Lutz, Iteration Minsk, Iteration Novokuybyshevsk
    • Needed
    • Hide

      We now show the display names of documents with some of the special characters encoded. The characters we encode are '/', '\', and '%'. So these characters will looks slightly different in the document title than the document contents. Not sure we need docs on this but I figured I'd open.

      Show
      We now show the display names of documents with some of the special characters encoded. The characters we encode are '/', '\', and '%'. So these characters will looks slightly different in the document title than the document contents. Not sure we need docs on this but I figured I'd open.

      Problem Statement/Rationale

      What is going wrong?

      Cannot open documents with a slash in _id.

      It generates error message like 'VIEW_DOCUMENT_SCHEME:/test.test:"abcd'

      The document is

      { "_id" : "abcd/efg" }

      GitHub issue: https://github.com/mongodb-js/vscode/issues/284

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Expected Results

      What do you expect to happen?

      Actual Results

      What do you observe is happening?

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: