The sidebar isn't updated for empty URL as a favorite

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • Not Needed
    • None

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?
      A new connection without URL can be saved to favorites but won't appear on the sidebar. A user can still connect and later see the saved connection after logging out and even use it to login (the default `mongodb://localhost` URL will be saved for such favorite).

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?
      On the connection form:

      • click new connection
      • click favourite banner, add name and save it
      • favourite is being saved but doesn’t appear in the sidebar
      • click connect and then disconnect
      • favourite is on the sidebar

      Expected Results

      What do you expect to happen?
      We either do not save empty connections to favorites, or we update the sidebar respectedly.

      Actual Results

      What do you observe is happening?
      The favorite is not displayed immediately, only after disconneting.

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Unassigned
            Reporter:
            Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: