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

Created on 13 October 2022, over 1 year ago
Updated 24 April 2024, 2 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 New Zealand

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.69.0 2024