IBM Support

JR62279: RICH TEXT EDITOR GETS FOCUS AFTER COACH IS LOADED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • If you use an Rich Text editor (RTE) editor, it takes the focus
    as soon as your coach is loaded. If you have more than one RTE,
    the last one gets the focus as soon as is loaded. The focus also
     scrolls to it if you have a long page and the RTE is on the
    bottom.
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    

Local fix

  • Add the following to the Rich Text editor's "On load" event:
    
    if (!me._proto._handleVisibility_orig) {
      me._proto._handleVisibility_orig =
    me._proto._handleVisibility;
      me._proto._handleVisibility = function(view) {
         var visibility = bpmext.ui.getEffectiveVisibility(view);
        if (visibility != "NONE") {
          var readonly = false;
          if (visibility == "READONLY") {
            readonly = true;
          }
          view._instance.textEditorControl.setMode(readonly ?
    "readonly" : "design");
        }
        require(["com.ibm.bpm.coach.utils/utilities"],
    function(utilities){
          var vis = utilities.handleVisibility(view.context);
          if (view._instance.textEditorControl && (vis == "NONE" ||
    vis == "HIDDEN")) {
    
    view._instance.textEditorControl.notificationManager.close();
          }
        });
      };
    }
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures the Rich
    Text editor does not grab focus when loading.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62279

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    J00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-04-27

  • Closed date

    2020-05-07

  • Last modified date

    2020-05-07

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

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

Document Information

Modified date:
22 June 2020