ICEfaces
  1. ICEfaces
  2. ICE-5684

Allow bridge to order when responses are processed

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.2-EE-GA_P02
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Linux
      Glassfish 2.2.1
      Firefox 3.6 / IE 8

      Description

      When the ICEfaces application is configured to support asynchronous communication, there's no mechanism for the brodge to ensure that responses are processed in the order in which their requests are sent. We have a scenario where clicking on a link starts a page navigation. It also enabled addtional code in our server component which results in an asynchronous message (from our server application to the web application) that instructs a new tab on the page (being displayed) to be active. Because the original request is navigating to a new page, the response is quite large. The subsequent asynchronous request uses a server push to notify the browser to update itself.

      Within the web application in the server, everything appears to be processed in the correct order. The async render does not occur until after the initial request is handled. However, in the browser the response for the server push is handled before the original request's response is handled. This causes the application to behave incorrectly in the browser.

      When the application is configured for asynchronous communication, it would be good if the bridge could process the responses in the same order in which the requests were sent.

        Activity

        Ed Hillmann created issue -
        Ed Hillmann made changes -
        Field Original Value New Value
        Attachment orderedResponseProcessing.patch [ 12327 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000C2KbR]
        Ken Fyten made changes -
        Component/s Framework [ 10013 ]
        Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
        Affects Version/s 1.8.2-EE-GA_P01 [ 10220 ]
        Affects Version/s 1.8.2 [ 10190 ]
        Assignee Ted Goddard [ ted.goddard ]
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ed Hillmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: