[COMPASS-3479] Rapid click delete deletes >1 Created: 03/Mar/19  Updated: 06/Mar/19  Resolved: 06/Mar/19

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.16.3
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Logan Gombar Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10


Attachments: GIF File mongoDB_deleteBug.gif    

 Description   

While viewing a collection, rapidly clicking the "Delete" button will let the user delete more than 1 item per flag. 

 

My guess on the reason is that the flag for deletion is based on position, and that the flag is toggled back after the deletion occurs, meaning that the item next in line is flagged for deletion, and can immediately be deleted.

A GIF of what I'm talking about is attached.



 Comments   
Comment by Massimiliano Marcon [ 06/Mar/19 ]

Hi abaddon16 thank you for reporting this. I think it's an edge case, it's really unlikely this will happen during normal use of Compass, so I am closing it. If it comes up again we will take another look.

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