Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2789

Right-To-Left h:outputText,h:inputTextarea jsf-showcase examples fail to show hebrew on pluto

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: showcase-2.0.0, showcase-3.0.0
    • Fix Version/s: showcase-3.0.5
    • Component/s: JSF Showcase
    • Labels:
      None

      Description

      Steps to Reproduce:

      1. Deploy the jsf-showcase on Pluto.
      2. Navigate to the h:outputText or h:inputTextarea Right-To-Left use-case.

      Expected Results

      The text will appear as:

      בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָֽרֶץ

      Actual Results

      The example text will show as:

      ??????????? ?????? ???????? ??? ??????????? ????? ????????

      Additional Details

      At first, I thought that this was a bug related to unicode in Pluto. However, unicode works correctly in Pluto when pasted into the h:inputText General example. When I submit unicode in that example, it appears correctly in the browser in the model value.

      *Note:* This issue cause the following failure in the showcase tests:

      Test Results
      Results :
      
        InputTextareaRightToLeftTester.runInputTextareaRightToLeftTest:38 org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for all conditions to be valid: text ('בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָֽרֶץ') to be present in element found by By.xpath: (//textarea[@dir='RTL'])visibility of element located by By.xpath: (//textarea[@dir='RTL'])
        OutputTextRightToLeftTester.runOutputTextRightToLeftTest:39 org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for all conditions to be valid: text ('בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָֽרֶץ') to be present in element found by By.xpath: (//span[@dir='RTL'])visibility of element located by By.xpath: (//span[@dir='RTL'])
      
      Tests run: 113, Failures: 2, Errors: 0, Skipped: 9
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                showcase-3.0.5