Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10458

GetLocaleList call can provide duplicate results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 16.11.05, 17.12.01
    • framework
    • None

    Description

      This is not a huge issue but I detected an issue with the GetLocaleList script which when providing both a localeString and localeName can provide duplicate results.

      Here is a set of 3 patches that should be applied in order:

      • the first one is adding some tests with a failing one which identifies the bug
      • the second one resolves the bug
      • the third one refactors the code to use a more functional style

      Attachments

        1. OFBIZ-10458_0001-Add-failing-tests.patch
          3 kB
          Mathieu Lirzin
        2. OFBIZ-10458_0002-Fix-duplicates-bug.patch
          2 kB
          Mathieu Lirzin
        3. OFBIZ-10458_0003-Refactor.patch
          2 kB
          Mathieu Lirzin

        Activity

          People

            pgil Gil Portenseigne
            mthl Mathieu Lirzin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: