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

Freemarker errors at language change page due to locale with no display name returned by Locale.getAvailableLocales() in UtilMisc.java#getAvailableLocaleList

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01, 13.07.02, 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      For some reason Locale.getAvailableLocales() returns an array list whose first member is a locale without a display name which causes an FTL error at ListLocales page. The error is not occurring for the demo trunk. The attached patch adds a line to UtilMisc to check that a displayName exists before adding the locale to the list in case the same happens for other users.

        Attachments

        1. OFBIZ-6309.patch
          0.8 kB
          Christian Carlow

          Issue Links

            Activity

              People

              • Assignee:
                adrianc@hlmksw.com Adrian Crum
                Reporter:
                ofbizzer Christian Carlow
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: