ICEfaces
  1. ICEfaces
  2. ICE-6411

Compat Connection Lost dialog shows JS error in IE8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 2

      Description

      In IE8, instead of showing the compat Connection Lost or Session Expired dialog, a JS error is displayed.

        Activity

        Hide
        Mircea Toma added a comment -

        The JS error occurs when connection is dropped. IE will return an empty document as XML data in the response. The error is thrown while the bridge tries to extract content from document.

        The code now checks for XML data before processing the DOM updates. Also the error handling segregates server error from HTTP error handling. HTTP errors are reported to the console.

        Show
        Mircea Toma added a comment - The JS error occurs when connection is dropped. IE will return an empty document as XML data in the response. The error is thrown while the bridge tries to extract content from document. The code now checks for XML data before processing the DOM updates. Also the error handling segregates server error from HTTP error handling. HTTP errors are reported to the console.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: