Session is not closed when closing the tab

Description

Tested on the demozk7 server - I open a session, close the tab, the browser popup warning me appears and I choose to abandon the session.

If you then open a tab and go to that server, you can see the session was not closed.

This was implemented with ticket https://idempiere.atlassian.net/browse/IDEMPIERE-984#icft=IDEMPIERE-984 but seems that is broken.

Environment

None

Attachments

1
  • 26 Oct 2014, 05:45 AM

Activity

Show:

Carlos Ruiz January 11, 2015 at 12:52 AM

Documenting comment from :

  • 2114 - Needs further investigation. Overriding core zk javascript functions must be avoided if there are other option

Hiep Lq October 26, 2014 at 5:45 AM

hot fix for wait zk fix

Hiep Lq October 25, 2014 at 7:16 PM

issue is report at http://tracker.zkoss.org/browse/ZK-2505?focusedCommentId=18694#comment-18694
but i see reason to change behavior relate to ZK-2051 (http://tracker.zkoss.org/browse/ZK-2051)

i trust "rmDesktop not working reliably, causing a memory leak in Session" at ZK-2051
is relate to https://idempiere.atlassian.net/browse/IDEMPIERE-1706

Hiep Lq October 25, 2014 at 5:12 PM

after investigate, i can catch issue.
by wrong logic in javascript.
at page call Clients.confirmClose ("message") to display close confirm,
logic to call event close page is ignore.

i will report to zk community and make a hot fix for idempiere

Carlos Ruiz October 23, 2014 at 1:54 PM

even closing the browser (not just the tab) - when the browser is restarted the session is still open

Fixed

Details

Assignee

Reporter

Labels

Priority

Created August 1, 2014 at 8:58 AM
Updated May 4, 2015 at 5:43 PM
Resolved January 19, 2015 at 2:19 PM