Bug #23195 Bug Fixed

Third party addon field type installed but not removed when removing addon

Version: 3.5.9 Reporter: TJ Draper

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

One of my add-ons has a field type declared in addon.setup and it gets installed properly but does not get removed when removing the add-on. I’m not doing any custom install or uninstall routines on the field type.

EE version is actually 3.5.10 but don’t see that listed.

  • It only happens if there is no fieldtype with the ‘standard’ name for the file. So folder is test, module is mod.test.php but fieltype is ft.test_file.php.

    You can patch by editing system/Ellislab/ExpresisonEngine/Controller/Addons/Addons.php around line 836

    if ( ! empty($fieldtype) && $fieldtype['installed'] === TRUE)
    change to 
    if ( ! empty($fieldtype))
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases