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

Plugins are initialized twice when installing XWiki the first time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.0 M4
    • Old Core
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: