openroberta-lab
openroberta-lab copied to clipboard
bootstrap table: deleting table entries even though they aren't selected
Describe the bug
- When you have more than 10 saved programs/configurations/users in groups and they are split up onto multiple pages, it is possible to delete them on accident even though they aren't selected to be deleted.
To Reproduce Steps to reproduce the behavior:
-
Go to test.open-roberta.org
-
Log in
-
Have more than 10 programs saved and switch to "my program ..."
-
Click on "Hide/Show Pagination" so that your programs are split up onto multiple pages
-
select some programs
-
switch to the next page
-
switch back (the selected programs aren't selected anymore which is correct)
-
click on the "deleteSomeProg" button
-
The programs that where selected before will now be shown in the list of the "to be deleted" popup
-
After pressing "Ok" (which you should only do if you really wanna delete them), the programs are deleted now
Expected behavior
- Either there should be an indicator that they are still selected by having the checkbox selected OR (which is the better solution) they shouldn't be selected at all, the list of selected objects should be reset after switching the pages
Device information
- Type Desktop
- OS: Linux Ubuntu 20.04
- Browser chrome 120.0.6099.129