Despite π Allow replacing file with same name Closed: works as designed indicating that replacing a file with one of the same name does work, i am getting the following error message:
> The specified file test.pdf could not be uploaded. The file temporary://test.pdf already exists. Enter a unique file URI.
This error traces back to a core validation constraint:
web/core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php:19
Upload a file, and then upload a replacement of the same name before cron has run and cleanup jobs are performed.
Active
1.0
Code