ICEfaces
  1. ICEfaces
  2. ICE-9626

Processing of asynchronous push starts before browser DOM update has finished

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      All, ICEpush
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      When navigating to a new JSF view with a big DOM and the backing bean of the view being navigated to triggers an asynchronous render as part of its postConstruct or as part as one of the getters, the HTTP POST to retrieve the updates for this asynchronous render posts to the old view instead of the new view and this causes a "Server Internal Error" because of a javax.faces.FacesException being thrown.

      In testing I did find that I wasn't able to reproduce the issue with lazyPush=true, but this may just be workaround for the test case only as it seems to occur when the push connection is already active.
      1. bigdom.xhtml
        499 kB
        Ted Goddard
      2. Case12432Example.zip
        24 kB
        Arran Mccullough
      3. newbigdom.xhtml
        499 kB
        Leon Steffens
      4. NewPageBean.java
        1 kB
        Leon Steffens
      5. PageBean.java
        1 kB
        Ted Goddard
      6. pushdelay.patch
        2 kB
        Ted Goddard

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38627 Thu Oct 17 15:27:00 MDT 2013 ted.goddard delay push if ajax event is in progress (ICE-9626)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: