dnnsoftware / Dnn.Platform

DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
https://dnncommunity.org/
MIT License
1.01k stars 745 forks source link

[Bug]: Items selected dont change state when select a file to move and cancel. #6052

Open ufoloko opened 1 month ago

ufoloko commented 1 month ago

Is there an existing issue for this?

What happened?

In resource manager, when you select a file to move, modal window is opened and file is deselected automatically, but it appears like one file is still selected.

You select a file and you can see this

image

Then you click on move, and file is deselected automatically.

If you cancel window for move, you return to list, previous selected file is deselected but action buttons have a "1 item X" button, but no file is selected

image

Steps to reproduce?

1.- Go to Resources Manager 2.- Select any file, so you will see move, delete, etc, buttons. 3.- Click on move button. 4.- Dialog appears for move action. (you can see in back of dialog file is being deselected automatically) 5.- Cancel or close dialog without move any file. 6.- You will see any file selected but un action buttons you have option to deselect items

Current Behavior

When you cancel move file, files are being deselected but action button to deselect appears to have 1 item selected in state.

Expected Behavior

When you cancel move file, you should keep status for selected files or at least should be the same state for selected files and deselect files action button.

Relevant log output

No response

Anything else?

No response

Affected Versions

9.13.3 (latest release)

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Code of Conduct