Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6434

User stays in the same view after dropping a database

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.36.0
    • Affects Version/s: None
    • Component/s: Views
    • None
    • 2
    • Iteration Seahorse, Iteration Turtle, Iteration Unicornfish, Iteration Velvet Crab
    • Not Needed

      If you drop a database (either from the sidebar or the databases list), the view stays wherever it was. Then if you click on a collection or otherwise try and interact with that deleted database you get errors (see screenshot).

      Rather redirect the user to the instance's databases list. Similar to what we now do when dropping a collection. Or how we redirect to the new collection when adding one.

        1. on-the-db.png
          on-the-db.png
          582 kB
        2. error-after-click.png
          error-after-click.png
          528 kB
        3. db-in-sidebar.png
          db-in-sidebar.png
          581 kB
        4. confirm.png
          confirm.png
          627 kB
        5. after-delete.png
          after-delete.png
          576 kB

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: