Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3716

Seam Remoting Callback not set before server response comes back

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.1.GA
    • Fix Version/s: 2.1.0.GA
    • Component/s: Remoting
    • Labels:
      None

      Description

      I tracked the issue down to one line of javascript code in remote.js

      req.onreadystatechange = function() {};

      The following thread discusses the problem is with an old version of the JScript.dll 5.6.0.8820 which is the same version I've got on a laptop here.

      http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/69428d48a7581567/709f621eb5a4304e?#709f621eb5a4304e

      One solution is to upgrade JScript.dll to 5.6.0.8831

      http://www.microsoft.com/technet/security/bulletin/ms06-023.mspx

      Or we can do what they did in GWT which is to move the req.onreadystatechange out of the scope of the current function

      window.setTimeout(function() {
      req.onreadystatechange = function() {};
      }, 0 );

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shane.bryzak Shane Bryzak
                  Reporter:
                  wayofdragon wayofdragon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: