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

portal:captcha does not render the captcha image and text input for Liferay Portal 7.0.3 CE GA4

    Details

      Description

      Problem Background

      With the advent of LPS-69383, the liferay-ui:captcha JSP tag has been extracted from the core and encapsulated into OSGi bundles. This affects Liferay Portal 7.0.3 CE GA4 (and newer). Because of this change, the Liferay Faces Portal <portal:captcha /> component no longer renders the captcha image and text input when running in Liferay Portal 7.0.3 CE GA4.

      Implemented Fix

      The fix for this issue is have the CaptchaRenderer depend on com.liferay.captcha.taglib.servlet.taglib.CaptchaTag which is the new API provided by the following OSGi bundle:

      pom.xml
      <dependency>
      	<groupId>com.liferay</groupId>
      	<artifactId>com.liferay.captcha.taglib</artifactId>
      	<version>1.0.0</version>
      	<scope>provided</scope>
      </dependency>
      

      Due to the nature of this fix, in order to use the <portal:captcha /> component in Liferay Portal 7.0 CE GA1, GA2, or GA3, it would be necessary to download the com.liferay.captcha.api-1.0.1.jar and com.liferay.captcha.taglib-1.0.3.jar bundles and copy them to $LIFERAY_HOME/osgi/modules.

      Steps to Reproduce

      1. Start Liferay Portal 7.0.3 CE GA4

      2. Deploy the portal-showcase-portlet

      3. Visit the following URL:
      http://localhost:8080/web/guest/portal-showcase/-/portal-tag/portal/captcha/general

      Expected Results

      The captcha image and text input are displayed.

      Actual Results

      The captcha image and text input are not displayed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  portal-2.0.1
                  portal-3.0.1