IBM Support

PI39881: Internet Explorer 9 (IE9) FAIL TO INVOKE ADAPTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Internet Explorer 9 (IE9) fail to invoke adapter procedure when
    IE develop tool(F12)
    is not activated(probably caused by console.log(data)).
    

Local fix

  • Add the following code in index.html:
    ==========================
    <script>
    function fixIE9ConsoleBug(){
    var ua = window.navigator.userAgent;
        var msie = ua.indexOf("MSIE ");
        if (msie > 0){      // If Internet Explorer, It is greater
    than 0
                    var versionIE =  parseInt(ua.substring(msie +
    5, ua.indexOf(".", msie)));
                    alert(versionIE);
                    if (versionIE >= 9 && versionIE < 11)
                   if(!('console' in window) || ( ('console' in
    window) && !('log' in console) )){
        window.console = {
            log:function(e){
                //alert("You are using console log without the
    console window is open, this is not supported by IE9 !")
            }
         }
    }
             } // If another browser, return 0 (msie == 0)
    }
    fixIE9ConsoleBug();
    
    window.$ = window.jQuery = WLJQ;
    </script>
    =============================
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users visiting the MobileFirst preview, desktop web, or      *
    * mobile web environments for their application in Internet    *
    * Explorer 9 or later (IE9+) may be affected depending on the  *
    * features of the application.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When visiting the MobileFirst preview, desktop web, or       *
    * mobile web environments for their application using Internet *
    * Explorer 9 (IE9+), the application may trigger a code flow   *
    * such that the Javascript console.log function is called.  In *
    * Internet Explorer 9+, the "console" global variable may not  *
    * exist, depending on whether the debug console in IE has been *
    * opened or not.                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Install the latest ifix which includes code that automatically
    creates the "console" global variable if it does not exist in
    the browser environment in which the application is being run.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI39881

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-26

  • Closed date

    2015-06-10

  • Last modified date

    2015-06-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R630 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021