Enable winguist_ui_patterns without proper theme gives an unexpected error.

Created on 17 August 2022, over 2 years ago
Updated 18 January 2023, almost 2 years ago

Problem/Motivation

Iā€™m experiencing an issue when enabling the module `winguist_ui_patterns` in D9 = `The website encountered an unexpected error. Please try again later.`.

Watchdog gives me this message after the module has been installed: `2010 17/Aug 07:53 php Error Drupal\Core\File\Exception\NotRegularDirectoryException: is not a directory. in Drupal\Core\File\FileSystem->scanDirectory() (line 665 of /app/web/core/lib/Drupal/Core/File/FileSystem.php`

Steps to reproduce

Enable the module `winguist_ui_patterns` without having a wingsuit theme.

Proposed resolution

See patch.

Remaining tasks

User interface changes

API changes

Data model changes

šŸ› Bug report
Status

Fixed

Component

Code

Created by

šŸ‡§šŸ‡ŖBelgium Arnoldski

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.

  • Status changed to Fixed almost 2 years ago
Production build 0.71.5 2024