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

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23660 Mon Dec 20 17:36:13 MST 2010 mircea.toma ICE-6411 Avoid processing updates when response does not contain XML data. Segregate server error handling from HTTP error handling. Resport HTTP error to console.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23665 Mon Dec 20 18:06:26 MST 2010 mircea.toma ICE-6411 Log HTTP error only during 'complete' phase of the response.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23928 Wed Feb 09 16:52:37 MST 2011 mircea.toma ICE-6546 Fixed ICE-6411 refactoring. Replaced undeclared isXMLContent variable with the containsXMLData() function which was introduced to determine when the response contains XML data.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: