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

Uncaught ReferenceError in bootsfaces-applicant-portlet on Liferay

    Details

      Description

      Steps to Reproduce

      1. Deploy the bootsfaces-applicant-portlet to Liferay Portal 7.0

      2. Add the bootsfaces-applicant-portlet to a portal page

      3. Reload the page in the browser

      Expected Results

      The bootsfaces-applicant-portlet renders correctly on the page and passes all tests.

      Actual Results

      The modal dialog "Are you sure you want to delete this" appears on the screen, which should only appear if an uploaded file is being deleted. Also, the following error appears in the JS console:

      bootsfaces-applicant:12 Uncaught ReferenceError: moment is not defined
          at HTMLDocument.<anonymous> (bootsfaces-applicant:12)
          at i (bootsfaces-applicant?p_p_id=1_WAR_comliferayfacesdemobootsfacesapplicantportlet_INSTANCE_Bu2Wa2ARPs...:2)
          at Object.fireWith [as resolveWith] (bootsfaces-applicant?p_p_id=1_WAR_comliferayfacesdemobootsfacesapplicantportlet_INSTANCE_Bu2Wa2ARPs...:2)
          at Function.ready (bootsfaces-applicant?p_p_id=1_WAR_comliferayfacesdemobootsfacesapplicantportlet_INSTANCE_Bu2Wa2ARPs...:2)
          at HTMLDocument.J (bootsfaces-applicant?p_p_id=1_WAR_comliferayfacesdemobootsfacesapplicantportlet_INSTANCE_Bu2Wa2ARPs...:2)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-ext-5.0.1