You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading an asset with a filename that already exists on the server, you get this warning:
This modal window is very important, especially when you've uploaded multiple files. Using the Keep both option will result in duplicate files, so this should require explicit confirmation.
At the moment, clicking outside the modal window will dismiss it and choose the Keep both option, without any indicator as to what happened. The duplicate asset is only shown after reloading the page manually, as dismissing the dialog doesn't trigger a refresh of the asset index. So any user would wrongly assume that clicking outside the window is equivalent to the Cancel button, where the duplicate is discarded.
This just happened to me, I had uploaded a bunch of optimized images to replace previous uploads and done something else in the meantime. When the upload was finished, I clicked on the browser window to return focus to it, but this accidentally dismissed the dialog. Now I have to manually search and delete a bunch of duplicates 🤷
Steps to reproduce
Go to Assets in the CMS, select any asset volume and upload a file. Upload the same file again.
When the modal window comes up, click outside it.
Expected behavior
Clicking outside the modal window should not dismiss it. The conflict should require a selection, either by selecting and confirming one of the two options, or by clicking on Cancel.
On a related note, I found it not quite clear what the Canel button would do. I would prefer a third option Abort upload (or something similar) instead.
Craft CMS version
4.5.11.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting. I think that’s a good shout about preventing that modal from being dismissed, so I raised a PR for it.
On a related note, I found it not quite clear what the Canel button would do. I would prefer a third option Abort upload (or something similar) instead.
What happened?
Description
When uploading an asset with a filename that already exists on the server, you get this warning:
This modal window is very important, especially when you've uploaded multiple files. Using the Keep both option will result in duplicate files, so this should require explicit confirmation.
At the moment, clicking outside the modal window will dismiss it and choose the Keep both option, without any indicator as to what happened. The duplicate asset is only shown after reloading the page manually, as dismissing the dialog doesn't trigger a refresh of the asset index. So any user would wrongly assume that clicking outside the window is equivalent to the Cancel button, where the duplicate is discarded.
This just happened to me, I had uploaded a bunch of optimized images to replace previous uploads and done something else in the meantime. When the upload was finished, I clicked on the browser window to return focus to it, but this accidentally dismissed the dialog. Now I have to manually search and delete a bunch of duplicates 🤷
Steps to reproduce
Expected behavior
Clicking outside the modal window should not dismiss it. The conflict should require a selection, either by selecting and confirming one of the two options, or by clicking on Cancel.
On a related note, I found it not quite clear what the Canel button would do. I would prefer a third option Abort upload (or something similar) instead.
Craft CMS version
4.5.11.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: