This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6edfd929-b263-41fb-96b8-0caca231098a XWIKI-25777 In Progress

Allow old plugins installed as extensions to be loaded without listing them in xwiki.cfg

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-086a963b-6913-4a74-b8d4-a37bd9af14ea Thomas Mortagne created this issue on 16/Nov/26 17:57
 
Summary: Allow old plugins installed as extensions to be loaded without listing them in xwiki.cfg
Issue Type: cid:jira-generated-image-avatar-6edfd929-b263-41fb-96b8-0caca231098a Improvement
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Old Core
Created: 16/Nov/26 17:57
Priority: cid:jira-generated-image-static-major-18b131bf-aa4e-467d-bfc8-13e1e88547e5 Major
Reporter: Thomas Mortagne
Description:

Right now, an old plugin installed as an extension is only loaded if it's listed in the static xwiki.plugins property of xwiki.cfg, and plugins are only loaded at startup. This makes it hard to move plugins out of XWiki Standard: an admin who still needs a removed plugin has to install it and also edit xwiki.cfg and restart.

The idea is to introduce a component entry point allowing an extension to declare a plugin that the plugin manager finds even when it's not listed in xwiki.cfg, with the plugin manager reacting to the registration/unregistration of these components to update its list of plugins.

Conclusions of the discussion:

  • No configuration to disable such dynamically registered plugins: an admin who doesn't want one can uninstall it.
  • The new entry point and the code reacting to its registration events are kept separate from the rest of oldcore, so that they can move to legacy together with the plugin manager later.

See https://forum.xwiki.org/t/19063.

 
 

2 updates

 
cid:jira-generated-image-avatar-086a963b-6913-4a74-b8d4-a37bd9af14ea Changes by Thomas Mortagne on 16/Nov/26 17:57
 
Assignee: Thomas Mortagne
Status: Open In Progress