[COMPASS-6791] Collection's name already pre-filled when dropping a collection Created: 04/May/23  Updated: 29/Aug/23  Resolved: 29/Aug/23

Status: Closed
Project: Compass
Component/s: Collection, UI / UX
Affects Version/s: 1.36.4
Fix Version/s: 1.39.3

Type: Bug Priority: Major - P3
Reporter: Rodrigo Borges Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: MacOS 13.3.1
Additional info: MongoDB Compass 1.36.4


Attachments: PNG File image-2023-05-04-11-36-54-060.png    
Issue Links:
Duplicate
duplicates COMPASS-7035 Clear the "Drop Collection" Modal inp... Closed
Story Points: 1
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

After dropping a collection, the next time I click on "Delete collection" or "Drop collection", the confirmation pop-up/dialog displays the input field with the name of the previous collection pre-filled.

 

Example after dropping the "changeloglocks" collection and clicking on drop collection on another collection.

Steps to Reproduce

  1. Click on the "Delete collection" icon (trash can) in the database's collections view or on the three dots on the collections list on side bar, and choose "Drop collection".
  2. On the confirmation dialog, fill in the collection's name and click on "Drop collection".
  3. Repeat step 1.
  4. On the confirmation dialog, the collection's name from step 2 will be pre-filled.

Expected Results

The text input field in the confirmation dialog should be empty.

Actual Results

The text input field in the confirmation dialog gets pre-filled with the name of the previous dropped collection.



 Comments   
Comment by Rodrigo Borges [ 29/Aug/23 ]

Hi rhys.howell@mongodb.com,

 

Thank you! I've confirmed it is working as expected on version 1.39.3.

Comment by Rhys Howell [ 29/Aug/23 ]

Hi borgesrodrigo.oliveira@gmail.com - thanks for reporting the issue, this was fixed as part of COMPASS-7035

Comment by PM Bot [ 04/May/23 ]

Hello borgesrodrigo.oliveira@gmail.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible.

Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again!

Generated at Wed Feb 07 22:44:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.