File description field doesn't show up after upload

Created on 17 October 2018, about 6 years ago
Updated 23 July 2023, over 1 year ago

I'm running a software website, where visitors can download programs, archives and so on. To manage files I'm using Media + plupload. All modules, as well as Drupal core, are latest versions.

Website is running through Cloudflare and there is 100 MB upload limit. This is the main reason why I use plupload - it has chunked upload, so I can easily upload files over the limit.

But! As it always happens with Drupal, some things never work out of the box, as you expect )))

1) The first issue was about files, staying in tmp folder after file upload, but I managed to fix it with this patch - https://www.drupal.org/project/plupload_widget/issues/2697357#comment-12...

Hovewer sometimes, for no reason, after file was uploaded I save media and error shows up, sayng that file field is empty (maybe because it stays in TMP folder). I didn't see any consistent pattern for this bug. After this error I have to reupload file again, and most of the times on the second run everything is cool, except one more thing...

2) After file was uploaded successfully, description filed does not appear. I'm talking about standard Drupal field, which is being used as anchor for file download link (if such setting is selected). So I have to save the media and then click on edit button in order to see this field. This is really annoying.

I think it was working some time and then something happened, which broke this small feature. Is moving from nginx to Apache could be the reason for such behaviour? Or the patch, that I applied? Or maybe there is another working solution for chunked uploads?

UPD:
And one more thing! So it will be third in my list:

3) When uploading multiple files at a time, only first in the list is being saved. To add other files I have to click on Edit button and add them one by one.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇷🇺Russia bigboy

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