Import should overwrite files

Created on 24 February 2021, about 4 years ago
Updated 27 August 2024, 7 months ago

Problem/Motivation

Import doesn't overwrite files. Because it doesn't overwrite, it leads to files proliferating like rabbits. And when later running drush decm example_module, all the exported files are obviously disambiguated with a sequential number. i.e. public://2021-02/officer_1.jpg when originally it was just officer.jpg. And I have to git checkout content/file/*.

Steps to reproduce

See problem description.

Proposed resolution

When importing files, always force overwrite.

Remaining tasks

User interface changes

API changes

Data model changes

โœจ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

heddn Nicaragua

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

Merge Requests

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