Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8306

User locale doesn't support java8 format

XMLWordPrintable

      Steps to reproduce

      1. Go to https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:jcr-browser-app:browser;/admin/tina/language::  as superuser
      2. Switch to users workspace, go to admin/tina/language
      3. Change it to a locale-country format (zh-CN)
      4. Log out
      5. Log in as tina

      Expected results

      The admincentral is switched to Chinese language. 

      Actual results

      java.lang.IllegalArgumentException: Invalid locale format: zh-CN
       

      Workaround

      Use java7 format (zh_CN).

      Development notes

        Acceptance criteria

              thien.quach Quach Hao Thien
              rkovarik Roman Kovařík
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1d 3.5h
                    1d 3.5h