Details
-
TCK Challenge
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.0.0
-
None
-
None
Description
[Test Challenger Name and Company]
Neil Griffin, Liferay, Inc.
[Specification Name(s) and Version(s)]
Portlet 2.0 Bridge for JavaServerâ„¢ Faces 1.2
[Test Suite Name and Version]
portlet-bridge-tck-main, v1.0.0
[Exclude List Version]
N/A
[Test Name]
TestPage203 (JSF_ELTest)
[Complaint (argument for why test is invalid)]
The JSF_ELTest verifies "facesContext" implicit object is equal to the value returned by FacesContext.getCurrentInstance(). This works fine with Mojarra 1.2_03, but newer versions of Mojarra have different behavior possibly due to http://java.net/jira/browse/JAVASERVERFACES-565.
In newer versions of Mojarra, the com.sun.faces.el.ImplicitObjectELResolver.getValue(ELContext context, Object base, Object property) method returns an instance of com.sun.faces.context.FacesContextImpl, which does not match the value returned by FacesContext.getCurrentInstance().
I'm filing this as a TCK Challenge because Liferay Faces Bridge requires Mojarra 1.2_13-b01 (or newer) due to the following issue: http://java.net/jira/browse/JAVASERVERFACES-977