When generating the 'Enabled Plugins' and 'Disabled Plugins' list, the core module should only display a plugin module if it passes a module_exists() check:

if ( module_exists('linktocontent_category') ) {
  ...
}

(This check should probably also run whenever else the plugin modules are used, referenced or processed.)

At present, the plugins list seems to be generated based on some variable or database value that is created/inserted on plugin module installation (via the linktocontent_register function), and does not get cleared until module uninstallation (when it calls linktocontent_unregister()). This is not appropriate, as it causes errors when a plugin module is deactivated but not uninstalled. It should be possible to deactivate a plugin without uninstalling it and thus losing all configuration information.

Cheers

Andy

Comments

stborchert’s picture

Assigned: Unassigned » stborchert
Status: Active » Postponed

Hi, Andy.
Don't get frightened, I postpone it to be in version 5.2.x (which will hopefully be released within the next weeks).

greetings,

Stefan

stborchert’s picture

Version: 5.x-1.7 » 5.x-2.x-dev
Category: bug » task

moved task to new development version

stborchert’s picture

Status: Postponed » Active

task is active

stborchert’s picture

Status: Active » Fixed

Fixed in current 5.x.2.x-dev (should be available for download in a few hours).

Anonymous’s picture

Status: Fixed » Closed (fixed)

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