Fix file conflict dialog when dragging a file into a folder#39162
Fix file conflict dialog when dragging a file into a folder#39162AlexAndBear merged 3 commits intomasterfrom
Conversation
|
Kudos, SonarCloud Quality Gate passed! |
|
Works now for the case:
The next thing is more tricky (and probably was tricky already before this PR):
So the real behavior is OK. It is just that the "One file conflict" dialog should mention Is there something that can easily be done about that? |
|
Note: the "will have a number added to its name" thing works - if I select both "files" and "Continue" then I end up with both |
|
Much thanks for the detailled testing! 👍
Yes, we also observed this. Unfortunately there is no quick fix for this, because the frontend would need to scan the folder content. Also what happens if you drag a folder into the folder? It would require quite some work and thought either way. Therefore, and because it's "only" an UI issue, we decided to leave this behavior as it is right now. |
That's fine with me. Sorting all that out is a separate issue. The changes here do not make that any different than it already is. |
phil-davis
left a comment
There was a problem hiding this comment.
LGTM and works.
Note: we can't automated-test this, because Behat+selenium has no access to do an "external" select, drag, drop of a file from a "file explorer" running outside the browser window.
|
Confirmed in 10.9.0-beta1 |









Description
When dragging a file into a folder, while another file with an identical name exists in the parent directory, the UI falsely showed a conflict dialog alert.
Related Issue
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: