Don't rely on temporary:// (Files do not upload when dropped)

Created on 15 October 2017, about 7 years ago
Updated 30 August 2024, 3 months ago

Problem/Motivation

Versions used
Drupal 8.4.0 (incl. core media module)
dropzonejs module 8.x-2.0-alpha1
dopzone.js library 5.2.0

Using the entity browser widget "Media Entity DropzoneJS" uploading of files by dropping them into the dropzone does not work. The dropzone appears and I can upload files by clicking the select button, but the "drop"-feature is not working.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany extect Germany

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.

  • πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

    We confirm this issue on Amazee, changing $settings['file_temp_path'] to a directory shared between pods (virtual machines) solved it.

  • πŸ‡¨πŸ‡¦Canada deviantintegral

    I think there's a related bug as well for servers hosting multiple distinct Drupal sites, such as in multisite. In our case, we were running automated tests in parallel and file uploads were failing around 30% of the time for files with the same name. Adding a random string to each uploaded file like mktemp does would solve this, but we just moved to using the private files directory.

Production build 0.71.5 2024