Using Replace in an entity browser does not replace the file.

Created on 17 March 2020, over 5 years ago
Updated 26 May 2023, over 2 years ago

I have a Media field using an entity browser, and have enabled Replace field on the Media entity. When I edit an existing file on a node, replacing the file works fine. However, if I enable and use the Replace button in the form settings for the field, and then upload a new file with the same name, it increments the resulting file name. Only by using Edit and going to the media entity edit page can I replace the file properly. For now, we'll just disable the Replace button, but having it there implies that this should work.

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada davemybes Montreal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024