-
Bug
-
Resolution: Fixed
-
Normal
-
8.6.2
-
Security Level: Jimmy
-
ZK 9.0.1 S1
-
None
Steps to Reproduce
1. specify a short time out
<session-config> <session-timeout>10</session-timeout> </session-config>
2. load the attached zul
3. wait after a session expires
4. type a char in the textbox
ZK shows a session timeout error dialog:
The resource you request is no longer available: /communication/timeoutAu.zul (z_9_q).
This is normally caused by timeout, or opening too many Web pages.
You have to reload the page and try again.
5. click "cancel" button
Current Result
the session timeout error dialog pops up again
Expected Result
the session timeout error dialog disappears
Debug Information
1. this is a case to simulate a user scenario in ZSS, when you edit a cell after a session expires. Since zss sends 2 AU request, it pops up session error dialog again after you click "cancel" button
2.
au.js
obsolete: function (dtid, msg) {
...
zAu.disabledRequest = true;
in the function below, it checks zAu.disabledRequest
sendNow: function (dt) { if (zAu.disabledRequest) { return false; }
but in Widget.sendAU_(), it doesn't check zAu.disabledRequest. Please check if such inconsistency is an implementation defect.