Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA1
-
Fix Version/s: 3.1.0.BETA2, 3.1, EE-3.0.0.GA_P01
-
Labels:None
-
Environment:Portal ICEpush
Description
Initially reported by Neil at Liferay (http://issues.liferay.com/browse/FACES-1171), there appears to be a problem when using Ajax Push as an inter-portlet communication (IPC) strategy. This is where one portlet changes some shared state and attempts to render all the relevant views.
The symptom is a SessionExpiredException reported by our custom exception handler.
The symptom is a SessionExpiredException reported by our custom exception handler.
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29260 | Wed May 30 17:43:03 MDT 2012 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/core/src/main/javascript/status.js
MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/blockui.js MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.1.0.BETA2 [ 10336 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29265 | Thu May 31 11:44:19 MDT 2012 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/javascript/application.js
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/core/src/main/javascript/status.js MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/javascript/blockui.js |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-3.0.0.GA_P01 [ 10327 ] |
Deryk Sinotte
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Deryk Sinotte
made changes -
Attachment | multi-view-push-test.zip [ 14500 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Here are my notes on the issue to date:
1) The issue seems constrained to a problem with Push. I can run and interact with two separate portlets without seeing the issue. The exception only occurs after one or two Push renders are triggered.
2) The SessionExpiredException is slightly misleading. We add that exception handling to attempt to catch cases where a ViewExpiredException is thrown in a situation when the session has expired. In this case, it's not a session expiry but truly a ViewExpiredException.
3) I've narrowed it down to the fact to an update that comes back and updates the javax.faces.ViewState so that the returned value is applied to all views on the page (not just the portlet it actually belongs to. I've also constructed a test case that illustrates the ViewState "contamination" that occurs. In other words, when interacting with the first portlet and triggering a push, the updates for the 2nd portlet also include a ViewState value that gets applied back to the 1st portlet. Any subsequent interaction with that first portlet will throw a ViewExpiredException but that ViewState value doesn't exist for that view.