[xwiki-notifications] [Issue] Updated: (XPWATCHLIST-25) AJAX race condition when selecting watch/unwatch space/page.

Jean-Vincent Drean (JIRA) jira at xwiki.org
Tue Jul 1 12:17:54 CEST 2008


     [ http://jira.xwiki.org/jira/browse/XPWATCHLIST-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Vincent Drean updated XPWATCHLIST-25:
------------------------------------------

    Affects Version/s: 1.7
                       1.6
                       1.2
                       1.1
                       1.0.2
                       1.0.1
                       1.0

> AJAX race condition when selecting watch/unwatch space/page.
> ------------------------------------------------------------
>
>                 Key: XPWATCHLIST-25
>                 URL: http://jira.xwiki.org/jira/browse/XPWATCHLIST-25
>             Project: XWiki Watch List Application
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 1.0, 1.0.1, 1.0.2, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
>            Reporter: Rob
>            Assignee: Jean-Vincent Drean
>             Fix For: 1.8
>
>         Attachments: XPWATCHLIST-25.patch
>
>
> When selecting 'Watch' or 'Unwatch' this page/space from the top menu, an AJAX request is sent back to add or remove the current page/space to the user's watch list. The menu (menuview.vm) is then re-rendered, pulling values from the database. In some conditions, the AJAX request won't be saved before menuview.vm checks the status of the page to see if it is watched or unwatched, resulting in an incorrect watch menu. 
> Also only redraw the watchlist menu, which improves speed but also doesn't break any onclick events that may have been on menu items. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list