Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3952

I18n mechanism should work with "basePlugin" packaging property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4
    • Component/s: l10n & i18n
    • Labels:
      None

      Description

      See http://sonar.15.n6.nabble.com/Sonar-3-3-1-and-C-1-4-not-playing-nicely-together-for-me-tt5005226.html

      The issue is in I18nClassloader constructor, where an optimisation is done to keep only the classloaders that contain a "org/sonar/l10n" folder. This check fails when plugins use the "basePlugin" feature of Sonar plugin packaging.

      This is the case of C# Plugins 1.4 (C# Squid Plugin executes in C# Core Plugin classloader).

      The solution is to remove this optimisation.

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: