Consider an input format that uses only a single filter. Suppose you uninstall the module that provides this one filter. The input format will be left with no filters.
The input format should be automatically deleted.
Consider an input format that uses only a single filter. Suppose you uninstall the module that provides this one filter. The input format will be left with no filters.
The input format should be automatically deleted.
Comments
Comment #1
johanneshahn commentedanybody move this to feature request please?
Comment #2
ergonlogicThis came up in bug bingo...
I'm not certain this is actually a good idea, but bumping it so someone with deeper knowledge of input formats can comment, or mark as "closed (works as designed)".
Comment #3
David_Rothstein commentedYup, agreed.
A text format (a.k.a. input format) with no filters is a completely reasonable (and actually sometimes quite useful!) configuration, so I don't think this makes sense. Not to mention that deleting/disabling a text format is a pretty scary operation that should not be done lightly; it can wreak havoc with the display of your site's content, etc.
If anyone's interested in the general issue of what happens when a module that provides a filter is turned off, though, see #562694: Text formats should throw an error and refuse to process if a plugin goes missing.
Comment #4
d_l commentedAs an example .. I was testing migrate module (in drupal 7.8), decided to uninstall, and I'm now left with a redundant "Migrate example format" text format which I don't see how I can delete. Do I have to look into the DB or drush to remove this?
Postscript: I inspected the database and I saw that it was cluttered with different tables (including migrate text filter) created by migrate module. To the extent that I have decided to upgrade to drupal 7.9 (core only) and created a fresh database with drupal core only as a starting base. I'll now be more careful in testing modules which appear not to fully uninstall.