ICEfaces
  1. ICEfaces
  2. ICE-2919

Updates are occasionally not applied when using Ajax Push in portlets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7RC1
    • Fix Version/s: 1.7
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      portal portlet ajax push

      Description

      Attached you will find a portle which is a sample that I developed for Liferay Portal that demonstrates inter-portlet communication with ICEfaces Ajax Push.

      Although it is only one .WAR, it contains two portlets: Customers and Bookings

      To reproduce the problems:

      1. Download and Install the Liferay 4.4.2 + Tomcat 6.0.16 bundle
      2. Run the bundle, which will create a $HOME/liferay/deploy folder
      3. Download the sample-icefaces-ipc-ajax-push-portlet.war attached to this ticket and copy to $HOME/liferay/deploy
      5. Start IE7
      6. Login as test@liferay.com with password test
      7. Position the mouse over the "Welcome" dock in the upper right hand corner
      8. Navigate to "My Places > My Community > Private Pages"
      9. Add a page named "IPC"
      10. Under the "Add Content" menu, expand the "Samples" category
      11. Add the "Sample ICEfaces IPC - Customers" portlet
      12. Under the "Add Content" menu, expand the "Samples" category
      13. Add the "Sample ICEfaces IPC - Bookings" portlet

      This isn't reproducible on demand. It often takes a bit of interaction but the basic problem is that if you click on the edit button for one of the customers and then interact with their booking information (open and collapse some panels) and then click on another customer's edit button, the UI is not properly updated. To get the update to occur, you can either:

      1) Click on the button again.
      2) Wait for the next heartbeat.

      Either one of these actions seems to get the updates properly applied to the UI.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16250 Thu Apr 03 15:26:03 MDT 2008 mircea.toma Append (instead of overwriting) new updated views into the shared cookie that holds the list of updated views.
        Refactor blocking connection code to send updated views, if available, on newly created requests.
        ICE-2919
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SendUpdatedViews.java
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: