ICEfaces
  1. ICEfaces
  2. ICE-1435

Ajax Push sometimes fails to update page without concurrentDOMViews

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#2
    • Fix Version/s: 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      all
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Obtain a reference to the PersistentFaceState in a bean getter/setter rather than the constructor as a getter is more likely to be called specifically on the user's current page.

              persistentFacesState = PersistentFacesState.getInstance();
      Show
      Obtain a reference to the PersistentFaceState in a bean getter/setter rather than the constructor as a getter is more likely to be called specifically on the user's current page.         persistentFacesState = PersistentFacesState.getInstance();

      Description

      With concurrentDOMViews set to false, although a render is requested, the current page may not update in some cases. This may be due to the PersistentFacesState being associated with a previously viewed page.

       

        Activity

        Hide
        Mircea Toma added a comment -

        Is there a way to reproduce this reliably?

        Show
        Mircea Toma added a comment - Is there a way to reproduce this reliably?
        Hide
        Ted Goddard added a comment -

        The best way would be to get Brad's security demo in its original form (the checked-in version might have a workaround in place).

        Show
        Ted Goddard added a comment - The best way would be to get Brad's security demo in its original form (the checked-in version might have a workaround in place).
        Hide
        Ted Goddard added a comment -

        Brad has verified that obtaining the PersistentFacesState in the constructor does not work.

        Show
        Ted Goddard added a comment - Brad has verified that obtaining the PersistentFacesState in the constructor does not work.
        Hide
        Mircea Toma added a comment -

        Reuse PersistentFacesState instance on redirects.

        Show
        Mircea Toma added a comment - Reuse PersistentFacesState instance on redirects.
        Hide
        Ted Goddard added a comment -

        Brad, could you test your security application with PersistentFacesState.getInstance() in the bean constructor?

        Show
        Ted Goddard added a comment - Brad, could you test your security application with PersistentFacesState.getInstance() in the bean constructor?
        Hide
        Brad Kroeger added a comment -

        I tested and it now works with the call in the constructor.

        Show
        Brad Kroeger added a comment - I tested and it now works with the call in the constructor.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: