Contact form in Drupal 8 when the file was posted by an anonymous user does not save the file.

Created on 8 January 2017, about 8 years ago
Updated 8 July 2024, 7 months ago

Contact form in Drupal 8 when the file was posted by an anonymous user does not save the file. It works only for registered users.

How to reproduce the bug:
1. Add the contact form field of type File.
2. Send the file as an anonymous user.
As a result, the form is saved without the file.

Perhaps due to the https://www.drupal.org/node/2678822
___

Контактная форма в Drupal 8 при публикации файла анонимным пользователем не сохраняет файл. Работает только для зарегистрированных пользователей.

Как воспроизвести:
1. Добавляем в контактной форме поле типа Файл.
2. Отправляем файл как анонимный пользователь.
В результате форма сохраняется без файла.

Возможно связано с https://www.drupal.org/node/2678822

🐛 Bug report
Status

Closed: outdated

Version

11.0 🔥

Component
File module 

Last updated 9 days ago

Created by

🇷🇺Russia snake-yava

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.

  • 🇳🇿New Zealand quietone

    I tested this on Drupal 11.x today, following the steps in the issue summary. As an anonymous user I used the site wide contact form and sent a file attachment. The resulting email had the correct link and the file itself was store in sites/default/files/2024-07. I repeated the test again as an authenticated user and again the file was saved correctly, not temporary, like reported in #5.

    Therefore closing a outdated

Production build 0.71.5 2024