You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Amardeep Singh Jhajj (JIRA)" <ji...@apache.org> on 2012/05/14 07:37:54 UTC

[jira] [Updated] (OFBIZ-4813) ajax autocomplete and dialog during session timeout

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

Amardeep Singh Jhajj updated OFBIZ-4813:
----------------------------------------

    Attachment: OFBIZ-4813-trunk.patch
                OFBIZ-4813-R11.04.patch

Jacques,

I found the small bug that when ajax request is aborted in autocompleter, the alert box is opened with message - An error occurred while communicating with the server:

reason=abort

exception=abort.

Hence, I have added a check to handle ajax abort exception in such case. I have attached the patch for R11.04 and trunk(same can be applied to R12.04).
                
> ajax autocomplete and dialog during session timeout
> ---------------------------------------------------
>
>                 Key: OFBIZ-4813
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4813
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: OFBIZ-4813-R11.04.patch, OFBIZ-4813-R11.04.patch, OFBIZ-4813-trunk.patch, ofbiz-4813-additional.patch, ofbiz-4813.patch, ofbiz-4813.patch, ofbiz-4813.patch, spinner.gif
>
>
> 1. autocomplete feature shows the message "no records found" during a session timeout.  This could be misleading for the user.
> 2. During a session timeout, clicking on ajax dialog button shows a large frame containing a message indicating session has timeout.  Should show a more detailed message.
> 3. All ajax dialogs are on the left of browser window.
> A number of fixes have been implemented for this issue.
> 1. At session timeout, user enters a character into autocomplete input box results in a alert window popup.
> 2. At session timeout, clicking on ajax dialog button will cause alert window to popup.
> 3. A large round spinner is shown when the ajax dialog is loading.  This spinner image comes from http://mentalized.net/activity-indicators/ and is royalty free.  Note the round spinner does not show in Tomahawk theme as it uses its own spinner.
> 4. Now all ajax dialogs are centered.
> 5. Change session timeout message to something more detailed.
> 6. Server response to ajax request now contain html tags.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira