It is possible to delete the Forum vocabulary while Forum is installed

Created on 13 October 2022, about 2 years ago
Updated 24 April 2024, 8 months ago

Problem/Motivation

Follow up to #2774399: Fatal error on accessing module uninstall page with Forum enabled .

Steps to reproduce

  • Enable Forums
  • Visit Admin > Structure > Taxonomy and select Edit vocabulary on the Forums row
  • You will land on the Edit vocabulary page and there shouldn't be a delete option.
  • Create a new random vocabulary
  • Edit the new Vocabulary
  • Copy the URL behind the red delete icon
  • Paste the URL into the browser and replace the new vocabulary machine name with "forums"
  • You will land of the "Are you sure you want to delete the vocabulary forums? page and have a Delete button
  • Clicking the Delete button will delete the vocabulary.

Proposed resolution

Add a custom validator to prevent the deletion of the forum vocabulary when Forum is installed.

Remaining tasks

Patch
Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

1.0

Component

forum.module

Created by

🇳🇿New Zealand quietone

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