Reviewed & tested by the community
Project:
File Replace (D8+)
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 May 2024 at 13:54 UTC
Updated:
31 Mar 2026 at 15:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
webfaqtory commentedComment #3
deepak5423 commentedHi @webfaqtory, Do we need the Delete button in replace file form page?
I think it is better to remove the option delete button from replace file form because we have an option to delete files from /admin/content/files.
Comment #4
webfaqtory commented@deepak5423 I agree, it's not necessary on the replace file form and can be removed.
Comment #5
webfaqtory commentedI have discovered that this error is caused by the file_delete module not being installed. This should be a dependency in this modules installation
Comment #6
deepak5423 commented@webfaqtory I think it is better to add file_delete module as a dependency of the File Replace (D8+)
Comment #8
deepak5423 commentedComment #9
atul_ghate commentedI reviewed and applied the Merge Request. When we install the module via Composer with a dependency on the file delete module, the mentioned error will no longer appear, and we will be able to delete files successfully.
Comment #10
abrammConfirming that enabling the file_delete module fixes an issue.
Comment #11
damienmckenna