ICEfaces
  1. ICEfaces
  2. ICE-6546

Callback registered with ice.onServerError is not invoked

    Details

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

      Description

      Callbacks registered with ce.onServerError function are not called when an server error is received by the client. It seems that a JS error is thrown in jsf.ajax.addOnError's callback (ICEfaces bridge).

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          While working on ICE-6411 the ice.onServerError callback missed a few of the refactorings applied to the other callbacks.
          Replaced undeclared isXMLContent variable with the containsXMLData() function which was introduced to detect when the response contains XML data.

          Show
          Mircea Toma added a comment - While working on ICE-6411 the ice.onServerError callback missed a few of the refactorings applied to the other callbacks. Replaced undeclared isXMLContent variable with the containsXMLData() function which was introduced to detect when the response contains XML data.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: