You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2011/05/06 12:42:03 UTC

[jira] [Updated] (OFBIZ-4256) after session timeout, ajax popup dialogbox shows ofbiz login screen

     [ https://issues.apache.org/jira/browse/OFBIZ-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-4256:
-----------------------------------

    Attachment: OFBIZ-4256_ajaxtimeoutfix.patch

Hi Adrian,
i created a patch for this issue. It would be great if you can have a quick look before a commit it.

The solution is simple.
If the session is timed out i check in the request handler weather it is an ajax request or not. 
If it is an ajax request i don't return the normal "checkLogin" request, i return a a special ajaxCheckLogin request. This request can point to an site which shows the "Please Login Hint".

What do you think? 

> after session timeout, ajax popup dialogbox shows ofbiz login screen
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-4256
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4256
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>            Reporter: Wai
>            Assignee: Sascha Rodekamp
>         Attachments: OFBIZ-4256_ajaxtimeoutfix.patch
>
>
> Take the following page (for example) https://localhost/content/control/findContent
> field "Data Resource Id" has an icon beside it that creates an ajax dialog pop up.  If the session has already timed out.  The dialog box would show the login screen.
> I suspect that all pages containing this functionality would exhibit the same symptom.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira