topcoderinc / TC-redis-manager

5 stars 15 forks source link

Added Successfully message displayed even though there is no item to add #373

Closed codejamtc closed 5 years ago

codejamtc commented 5 years ago

image

  1. Deploy the App and run the application
  2. Create a List
  3. Select the list and click add new value
  4. Type B
  5. Delete the row
  6. Click Add

Actual: Added Successfully message displayed even though there is no item to add and no items added to the list

Expected: Should not display Added Successfully message

Browser(s): Chrome 71.0.3578.98 (Windows)

codejamtc commented 5 years ago

Happens in all value types: List, Set, Ordered List, NOT in Hash Map (it's also incorrect)

https://www.screencast.com/t/8boHfDC4oT

standlove commented 5 years ago

should not allow user to delete the last row from the model dialog.

sumitdaga commented 5 years ago

this is already fixed by a previous PR!