Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4277

Plugins are initialized twice when installing XWiki the first time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0 M4
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Each time the "plugins" property is modified in XWikiPreference (here it's because the whole XWikiPreference new) all the plugins are re-loaded.

      The main issue is that it could make plugin expecting to be called only once create severall daemon thread, starting severall time an external server of something etc...

      IMO this is not good, if we want to suppor "plugins" property at least we should init only the new plugins.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: