Download & Extend

DX: Remove module filters on uninstall

Project:Drupal core
Version:7.x-dev
Component:filter.module
Category:task
Priority:normal
Assigned:Dave Reid
Status:closed (won't fix)

Issue Summary

With hook_modules_uninstalled, we can automatically remove filters provided by uninstalled modules. Patch following shortly.

Comments

#1

Status:active» needs review

And heeeere's the patch!

AttachmentSizeStatusTest resultOperations
335237-modules-uninstalled-filter-D7.patch801 bytesIdleFailed: 7416 passes, 12 fails, 3 exceptionsView details | Re-test

#2

Title:DX: Remove uninstalled module filters» DX: Remove module filters on uninstall

Slight change in documentation.

AttachmentSizeStatusTest resultOperations
335237-modules-uninstalled-filter-D7.patch803 bytesIgnored: Check issue status.NoneNone

#3

Status:needs review» needs work

The last submitted patch failed testing.

#4

#5

Note #562694: Text formats expose sensitive information and arbitrary user input if filters vanish which is related, and also aims to deal with some trickier issues that occur when modules that provide filters are disabled/uninstalled.

#6

Status:needs work» closed (won't fix)

Yes, and unfortunately, this patch won't fly due to #562694: Text formats expose sensitive information and arbitrary user input if filters vanish

nobody click here