Duplicate file uploads

Created on 14 February 2025, about 2 months ago

Problem/Motivation

Duplicate files are uploaded when using File Browser with a media field in a paragraph.

Steps to reproduce

  1. Create a paragraph type that has a media field (ours was for Documents)
  2. Add a paragraph entity reference field to a content type and configure it to allow/use the new paragraph type
  3. Edit a node and add a new paragraph in the field in step 2.
  4. Click on Add Media in the paragraph media field
  5. Click on the "Open File Browser" link in the Add or Select Media dialog
  6. Click Upload in the File browser window and upload a file of the type required by the paragraph media field
  7. In a separate window/tab, navigate to Content -> Files and you should see the new file has been uploaded
  8. Back in the File Browser window, double-click on the newly uploaded file in the file list. The window closes and you will be returned to the Add or Select Media dialog where you can continue to attach the file. Don't click on anything yet.
  9. Return to the window/tab displaying Content -> Files and click on the browser refresh button
  10. You will see a duplicate file has been uploaded
πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cobblestone.consulting

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

Comments & Activities

Production build 0.71.5 2024