Show the correct notice message when file cannot be moved

Created on 4 May 2021, almost 4 years ago
Updated 14 May 2024, 11 months ago

Problem/Motivation

This notice message 'The file %old could not be moved to the destination of %new. Ensure your permissions are set correctly.' does not display the correct destination file path.

Steps to reproduce

Run a migration script that will need to move files based on file field configuration and failed somehow. Check this notice message, you will see the source and destination are the same path.

Proposed resolution

use $destination on the destination path instead.

Remaining tasks

User interface changes

n/a

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

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