Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-959

Incorrect assumption of default locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-M7
    • 4.0.0-M8, 4.0.0, 3.20.0
    • localization
    • None

    Description

      During MCHECKSTYLE-432 it was discovered that an incorrect locale is assumed since it retrieved getLocales().get(0). This assumption is wrong because we cannot expect that <locales/> contains default at the 0th position. So we need, as everywhere else, compare with SiteTool#DEFAULT_LOCALE,

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: