Disabling module with Drush fails

Created on 19 October 2023, about 1 year ago
Updated 23 March 2024, 9 months ago

Disabling the module with Drush fails. The Drush command "drush pm-uninstall token_filter" returns the description of the module and doesn't run the expected command.

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom David Fiaty

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @David Fiaty
  • 🇬🇧United Kingdom David Fiaty

    It appears that the module cannot be uninstalled if a text format has token replacements enabled. But the message returned in the terminal is somehow misleading. Changing the status of this issue to support request.

  • 🇦🇺Australia darvanen Sydney, Australia

    Hi @David Fiaty, thanks for getting involved :)

    The error message I receive when trying to uninstall token_filter after configuring a text format to use it is:

    $ drush pmu token_filter
    
    In PmCommands.php line 214:
    
    token_filter: Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">Full HTML</em>  
    

    Can you explain how you would improve upon this message? Or are you getting something different?

    If it's just the wording of the message I'm afraid this will be a core issue.

  • Status changed to Closed: works as designed 9 months ago
  • 🇦🇺Australia darvanen Sydney, Australia

    No activity for 5 months, closing. Please feel free to reopen if you have further information.

Production build 0.71.5 2024