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

Failure in TCK TestPage204: JSP_ELTest due to Trinidad dependency in TCK

    Details

      Description

      The Bridge TCK has a dependency on Trinidad, and the TestPage204 (JSP_ELTest) is failing with the following stacktrace due to this dependency:

      18:50:34,380 ERROR [render_portlet_jsp:154] java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.dispatch.DispatchRenderResponse cannot be cast to javax.servlet.http.HttpServletResponse
      at com.sun.faces.context.flash.ELFlash.setCookie(ELFlash.java:938)
      at com.sun.faces.context.flash.ELFlash.doLastPhaseActions(ELFlash.java:638)
      at com.sun.faces.context.flash.ELFlash.doPostPhaseActions(ELFlash.java:575)
      at com.liferay.faces.bridge.context.flash.BridgeFlashMojarraImpl.doPostPhaseActions(BridgeFlashMojarraImpl.java:38)
      at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:235)
      at com.liferay.faces.bridge.application.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:46)
      at com.liferay.faces.bridge.application.view.ViewDeclarationLanguageJspImpl.renderView(ViewDeclarationLanguageJspImpl.java:70)
      at com.liferay.faces.bridge.application.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:46)
      at com.liferay.faces.bridge.tck.application.view.ViewDeclarationLanguageJspTCKImpl.renderView(ViewDeclarationLanguageJspTCKImpl.java:106)
      at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:354)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      at org.apache.myfaces.portlet.faces.testsuite.common.util.faces.application.TestSuiteViewHandlerImpl.renderView(TestSuiteViewHandlerImpl.java:104)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      at com.liferay.faces.bridge.tck.application.ViewHandlerTCKImpl.renderView(ViewHandlerTCKImpl.java:52)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

      As of the time of this writing, Liferay Faces does not support Trinidad. If in the future Trinidad is supported, it would be Facelets-only, and not JSP. Therefore the fix for this will be put in the bridge-tck-compat project.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.0.0-legacy-ga1
                liferay-faces-3.0.0-ga1
                liferay-faces-3.1.0-ga1