GDPR Tasks cannot be installed as part of a profile

Created on 26 October 2023, over 1 year ago
Updated 22 May 2024, about 1 year ago

Problem/Motivation

I have gdpr_tasks listed in an installation profile as module that should be installed during site installation. The site installation fails with the following error:

GDPR Tasks: Private Files: The private files folder is not set up.

The problem here is, that in gdpr_tasks_requirements() the private file system gets checked, but it is not set up at this time. It is possible to work around this issue, by providing a settings.php file where the private file system is already set up.

Steps to reproduce

Create or take an existing installation profile and add gdpr_tasks to its info.yml file under install:. Then perform a site installation with that profile (and without existing settings.php).

Proposed resolution

Maybe instead of treating a missing private file system as error in every phase, it should be treated as warning during the installation phase. This would allow the installation of the module (and the entire site), but would still show the error afterwards on the status page.

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany lukas_w

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024