Details
Description
Under certain situations, a redeploy of a portlet can cause the following:
Aug 7, 2008 4:22:46 PM com.sun.faces.lifecycle.LifecycleImpl phase
WARNING: executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@d2142e) threw exception
java.lang.ClassCastException: com.icesoft.faces.context.ElementController
at com.icesoft.faces.context.ElementController.from(ElementController.java:22)
at com.icesoft.faces.context.DOMResponseWriter.enhanceBody(DOMResponseWriter.java:331)
at com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:276)
...
The problem cannot currently be replicated with our demo portlets but there is a sample portlet included in the forum entry that does show the issue.
After some discussion, it's likely that the ElementController mechanism is no longer needed as it was an interim solution for focus management. So we should remove this logic and retest with the user's sample application
Aug 7, 2008 4:22:46 PM com.sun.faces.lifecycle.LifecycleImpl phase
WARNING: executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@d2142e) threw exception
java.lang.ClassCastException: com.icesoft.faces.context.ElementController
at com.icesoft.faces.context.ElementController.from(ElementController.java:22)
at com.icesoft.faces.context.DOMResponseWriter.enhanceBody(DOMResponseWriter.java:331)
at com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:276)
...
The problem cannot currently be replicated with our demo portlets but there is a sample portlet included in the forum entry that does show the issue.
After some discussion, it's likely that the ElementController mechanism is no longer needed as it was an interim solution for focus management. So we should remove this logic and retest with the user's sample application
Issue Links
- blocks
-
ICE-3498
User Session Expired - OC4J and Liferay 4.4.1 not deployed under Root context
-
- Closed
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | ECGViewer.war [ 11161 ] |
| Assignee | Mircea Toma [ mircea.toma ] |
| Affects Version/s | 1.7.2 [ 10130 ] | |
| Affects Version/s | 1.7.1 [ 10122 ] |
| Fix Version/s | 1.7.2 [ 10130 ] | |
| Affects Version/s | 1.7.1 [ 10122 ] | |
| Affects Version/s | 1.7.2 [ 10130 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #17313 | Fri Aug 08 04:47:51 MDT 2008 | mircea.toma | |
| Files Changed | ||||
DEL
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ElementController.java
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #17314 | Fri Aug 08 04:48:17 MDT 2008 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
DEL
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/ElementController.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Assignee Priority | P1 | |
| Assignee | Mircea Toma [ mircea.toma ] | Jack Van Ooststroom [ jack.van.ooststroom ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Assignee | Jack Van Ooststroom [ jack.van.ooststroom ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P1 |

Customer's sample application that shows the problem when the portlet is re-deployed.