Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.BETA
-
Fix Version/s: EE-3.0.0.GA
-
Component/s: Framework
-
Labels:None
-
Environment:WebSphere Portal + Myfaces 2.1.6 + ICEFaces 3 EE beta
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
-
Workaround Exists:Yes
-
Workaround Description:Need to use modified MyFaces 2.1.6 jars provided by ICEsoft
Description
There's a bug in the Myfaces ExternalContextUtils.java class which prevents it from detecting the type of request in portal 20 environments. A jira with myfaces has been created here: https://issues.apache.org/jira/browse/MYFACES-3489. We will need to create a local version of the myfaces jars until a fixed version has been released.
Issue Links
- blocks
-
ICE-7926 Patches applied to Myfaces 2.1.6
- Closed
Checked in a custom built version of MyFaces 2.1.6 libs that contain the following patch:
Index: shared/src/main/java/org/apache/myfaces/shared/util/ExternalContextUtils.java
===================================================================
— shared/src/main/java/org/apache/myfaces/shared/util/ExternalContextUtils.java (revision 1244660)
+++ shared/src/main/java/org/apache/myfaces/shared/util/ExternalContextUtils.java (working copy)
@@ -126,7 +126,7 @@
// performance. We want to do as few instanceof's as possible so
// things are laid out according to the expected frequency of the
// various requests occurring.
+ if(_PORTLET_10_SUPPORTED || _PORTLET_20_SUPPORTED)
{
if (_PORTLET_CONTEXT_CLASS.isInstance(ec.getContext()))
{