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

Modifying the plugins property in XWikiPreferences doesn't reload the plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 M1
    • Fix Version/s: 3.2 M2
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This is because of 2 typos in XWiki.java:

          private static final RegexEntityReference XWIKIPREFERENCE_PROPERTY_REFERENCE = new RegexEntityReference(
              Pattern.compile("plugin"), EntityType.OBJECT_PROPERTY, new RegexEntityReference(
                  Pattern.compile(".*:XWiki.XWikiPreference\\[\\d*\\]"), EntityType.OBJECT));
      
      • Typo 1: plugin --> plugins
      • Typo 2: XWikiPreference --> XWikiPreferences

      Issue is that we didn't have any functional test for this... and we still don't have it... Now since we're phasing out plugins we could hurry that up and get by without writing a functional test for this...

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: