IBM Support

JR43593: CMVC 223591 - correct a focus related error on IE7 or IE8 after changing attribute of a product on shipping/billing method page

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 223591 224009 -  On Internet Explorer 7 and 8, after changing
    the attribute of
    a product on the shipping and billing method page of the Aurora
    starter store, the browser reports the following error:
    
    Message: Can't move focus to the control because it is
    invisible, not enabled, or of a type that does not accept the
    focus.
    

Local fix

  • Using your favorite file editor, open the <Aurora store
    directory>/javascript/MessageHelper.js file, find the
    displayErrorMessage:function(msg, topOffset,showType), and
    change:
    
     setTimeout("dojo.byId('ErrorMessageText').focus()", 1000);
    
    to:
     setTimeout("function() {if (dojo.byId('ErrorMessageText') !=
    null) {dojo.byId('ErrorMessageText').focus();}}", 1000);
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on V7.0 with Feature Pack 5 using an
    Aurora starter store.
    
    PROBLEM ABSTRACT:
    Using Internet Explorer 7 and 8, a JavaScript error may occur in
    the shipping and billing page of the Aurora starter store when
    shopper changes product attributes.
    
    
    BUSINESS IMPACT:
    Error displays on IE7/8 when the problem is produced.
    
    RECOMMENDATION:
    Manually apply the workaround in order to correct this problem.
    

Problem conclusion

  • The fix will be integrated into the next release. It checks that
    the object exists before trying to give it the focus.
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43593

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-27

  • Closed date

    2012-08-03

  • Last modified date

    2012-08-13

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 August 2012