don't allow submitting user AP settings form if private folder not configured

Created on 17 February 2025, 2 months ago

Problem/Motivation

At user/1/activitypub/settings I saw a warning message that:

> Warning: the private folder has not been configured.

but it still let me submit the form.

That then produced a ton of errors:

> Warning: is_dir(): Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in Drupal\Core\File\FileSystem->prepareDirectory() (line 502 of core/lib/Drupal/Core/File/FileSystem.php).

Steps to reproduce

Proposed resolution

Disable the form submit button if the private folder is not available.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024