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

RichFaces JS fails and throws errors

    Details

      Description

      This issue is a regression caused by the first commit for FACES-3014.

      Steps to reproduce:

      1. Navigate to the richfaces-applicant-portlet in a browser.* Click on the calendar button.

      If the bug still exists, the calendar will not pop up and the following error messages will appear in the console logs (before clicking the calendar button):

       
      ReferenceError: jsf is not defined 
      TypeError: RichFaces.ui is undefined 
      TypeError: RichFaces.ui is undefined 
      TypeError: RichFaces.ui is undefined 
      

      This bug causes the following test failure:

       
      $ (cd test/integration/ && mvn verify -P selenium,liferay,chrome -Dit.test=*RichFaces*) 
      ... 
      RichFacesApplicantPortletTester>ApplicantTesterBase.runApplicantPortletTest_J_Submit:304->selectDate:66 ยป Timeout 
      

      I reproduced this error on Liferay 7 with the bridge-impl 4.x branch, but it should be tested on Pluto and in the master branch to ensure that it is fixed correctly.

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            kyle.stiemann Kyle Stiemann (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                bridge-impl-3.1.0
                bridge-impl-4.1.0