Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3269

UIViewRoot.getLocale only convert some common locales passed as string

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.8, 2.1.2
    • JSR-314
    • None

    Description

      UIViewRoot.getLocale only convert some common locales passed as string. It does not check for variant inside the locale. By the spec, it is valid to pass a string value or ValueExpression pointing to a string value.

      I think it is better to copy LocaleUtils class from commons lang and use it.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment