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

After dropping a collection once, dropping same collection can by-pass confirmation modal input

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Collection
    • Environment:
      OS: Windows
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      If you drop a collection, re-import or re-create the same-name collection, the confirmation modal action button is erroneously unlocked without inputting the collection name.

      Proper function:

       

      Allowed delete without input:

      Steps to Reproduce

      1. Create collection named X
      2. Drop collection X
      3. Create collection again
      4. Drop collection again -> no confirmation required.

      Expected Results

      Confirmation required every time.

      Actual Results

      No confirmation required. Scared me as I thought I accidentally dropped a different collection.

        1. image-2024-01-31-15-02-25-764.png
          31 kB
          Nigel Fish
        2. image-2024-01-31-15-03-34-307.png
          35 kB
          Nigel Fish

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            nigel@meetatcircus.com Nigel Fish
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: