Details
Description
To reproduce:
1. deploy attached sample application.
2. Wait for 1 minute (for session to expire)
3. Click on command button
Outcome:
the following JS will be executed twice:
ice.onSessionExpiry(HandleExpireSession);
function HandleExpireSession ()
{
alert("This is a test");
};
and result into double appearance of the alert box
1. deploy attached sample application.
2. Wait for 1 minute (for session to expire)
3. Click on command button
Outcome:
the following JS will be executed twice:
ice.onSessionExpiry(HandleExpireSession);
function HandleExpireSession ()
{
alert("This is a test");
};
and result into double appearance of the alert box
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The session expired are registered twice, once with the global (per page) JSF error callbacks then with the per request callbacks.
The applied fix wires the session expired callbacks only to the global error intercepting JSF callbacks.