topcoderinc / TC-redis-manager

5 stars 15 forks source link

Delete branches operation is incorrect #370

Open codejamtc opened 5 years ago

codejamtc commented 5 years ago

https://www.screencast.com/t/5yrGPnToePy

  1. Deploy the App and run the application
  2. Select a server and select add new record
  3. Create a branch (string) - BaicUserA:BaicUserB:BaicUserC:BaicUserD:BaicUserE:BaicUserF:BaicUserG:BaicUserH
  4. Expand all the branches
  5. Then I have empty BaicUserD
  6. I have a key (Key-C) with BaicUserC
  7. I have a key (Key-E) with BaicUserE
  8. Delete BaicUserD and the message displays:

Delete Confirmation Are you sure you want to delete the key "BaicUserA:BaicUserB:BaicUserC:BaicUserD:"?

Actual: Are you sure you want to delete the key "BaicUserA:BaicUserB:BaicUserC:BaicUserD:"?

Expected: But when user click on the YES button, it deletes the BaicUserD to BaicUserH, so the message is wrong in this case or the operation is totally wrong

Message should be : Are you sure you want to delete the key "BaicUserD:BaicUserE:BaicUserF:BaicUserG:BaicUserH:"? or the operation is totally wrong

Browser(s): Chrome 71.0.3578.98 (Windows)

standlove commented 5 years ago

The message should be like: Are you sure you want to delete all the keys inside this branch: "xxxx"?