Error on desinstalling WYMeditor module

Domsou - September 24, 2008 - 14:23
Project:WYMeditor
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Context :

Fresh install of Drupal 6.4 and WYMeditor 6.x-2.x-dev

Steps to reproduce :

  1. deactivate WYMeditor module
  2. go to uninstall tab
  3. desintall WYMeditor module
  4. confirm
  5. ERROR !

Error Message :

Fatal error: Call to undefined function filter_admin_delete_submit() in drupal_path/sites/all/modules/wymeditor/wymeditor.install on line 42

Others

WYMeditor fields on variable MySQL table still exists :

  • wymeditor_classes
  • wymeditor_containers

Going again on module desinstall tab indicate that WYMeditor module is still install.

#1

Domsou - September 28, 2008 - 04:32

After some investigations I corrected the error. I'll submit a patch soon...

On my previous comment the last part name Others indicate that some variables related to WYMeditor are not deleted after the module desinstallation. In others words : desinstallation is not clean ! So I am gonna create a new bug report for that point.

#2

Domsou - September 28, 2008 - 04:53
Status:active» needs review

Here is the patch !

Two points :

  1. it's my first one for Drupal !
  2. I use Bazaar as version control system : http://bazaar-vcs.org/

I have carrefully read the notice about submitting patches. But because of the two previous points there are maybe some errors. So please feel free to warn me about.

Thanks

AttachmentSize
wymeditor.patch 691 bytes

#3

fall_0ut - October 8, 2008 - 19:48
Status:needs review» fixed

The uninstall was corrected.

Thanks Domsou for your patch.

#4

Anonymous (not verified) - October 22, 2008 - 19:54
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.