File import appends existing file names

Created on 27 March 2017, over 7 years ago
Updated 8 May 2024, 6 months ago

When using default content to import files, Currently it appends existing files.

As per: http://cgit.drupalcode.org/better_normalizers/tree/src/Normalizer/FileEn... , 3rd parameter is defaulting to FILE_EXISTS_RENAME.

When we import node and file associated with it - Attachment file gets appended with _0,_1 etc as file imported gets renamed when already exists and UUID for new file gets attached to node(appended name). Can this be changed to FILE_EXISTS_REPLACE so that with new install or incremental install file name attached to node is in sync.

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Srivaths

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