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

Connections are not being saved

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.0.1
    • Component/s: Connectivity
    • Environment:
      OS: Win10
      node.js / npm versions: VSC 1.79
      Additional info:
    • Developer Tools
    • Not Needed
    • Iteration Minmi, Iteration Nodosaurus, Iteration Triceratops 1

      Problem Statement/Rationale

      On two different PCs, running v1.0.1 if I create a new connection, the connection is not being saved, either using Workspace or Globally.

      The existing ones are fine, and work as is. However if I try to rename them, the rename doesn't work.

      So if I add a connection, the actual connection works fine and I can look at the data, it's just not saving any changes.

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

      Steps to Reproduce

      1. create a new connection using the connection string e.g.

      mongodb://localhost:27017/?readPreference=primary&ssl=false&directConnection=true

      2. Save to workspace or globally.

      3. Close VSC, and click on Mongodb extensions.

      Expected Results

      The connection string is saved, the renaming is saved. The actual changes are being saved.

      Actual Results

      No changes in the connection panel are being saved.

      Additional Notes

      I have tried this on 2 pcs. I was setting up MongoDB in docker on a work laptop. I noticed that the connection string wasn't being saved, and tried it on my dev machine and the same thing was happening.

      If I have made a mistake or the process for saving settings has changed, let me know.

      If there is anything I can help with let me know.

        1. 2023-07-17 11-55-48.mkv
          17.96 MB
        2. image-2023-06-15-12-51-58-049.png
          image-2023-06-15-12-51-58-049.png
          509 kB
        3. image-2023-06-15-12-53-10-211.png
          image-2023-06-15-12-53-10-211.png
          235 kB
        4. image-2023-07-17-10-58-42-997.png
          image-2023-07-17-10-58-42-997.png
          203 kB
        5. image-2023-07-17-11-00-50-268.png
          image-2023-07-17-11-00-50-268.png
          167 kB
        6. image-2023-07-17-13-26-56-413.png
          image-2023-07-17-13-26-56-413.png
          87 kB
        7. image-2023-07-17-14-32-10-184.png
          image-2023-07-17-14-32-10-184.png
          36 kB
        8. vscode-app-1686907325474.log
          11 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            mullins.n.w@googlemail.com Neil Mullins
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: