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. after-delete.png
          576 kB
          Le Roux Bodenstein
        2. confirm.png
          627 kB
          Le Roux Bodenstein
        3. db-in-sidebar.png
          581 kB
          Le Roux Bodenstein
        4. error-after-click.png
          528 kB
          Le Roux Bodenstein
        5. on-the-db.png
          582 kB
          Le Roux Bodenstein

            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: