Does not work on media types with multiple (different) file upload fields

Created on 16 December 2021, almost 3 years ago
Updated 30 November 2023, 10 months ago

Problem/Motivation

I have a media type with a PDF (source) and a doc/docx file field. The replace/overwrite original file only applies to the PDF, or source generally. I believe this is intended but I propose adding the the ability to overwrite any file fields associated to document. It is similar to 3131468 - Only works with single file β†’ except that does not seem to address if there is multiple/different file fields associated to one media type.

Steps to reproduce

Create a media with 2 file upload fields (one for PDF and one for docx for example) and try to overwrite the non media source file field.

Proposed resolution

I'm attaching a rough patch, that got this working for me currently but it will need work.

Remaining tasks

Assess/test initial patch and improve where necessary

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States billdaff

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