IBM Support

JR47557: THE CALENDAR REMAINS OPEN AFTER SWITCHING TO ANOTHER TAB PAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • - Run human service
    - Click on the 'Show Calendar' image to pop up a calendar
      - Click outside the DateTimePicker and calendar
      - Click on another tab page
    

Local fix

  • Fix by replacing the line within comments "//begin change" and
    "//end
    change", found in _bpmDateTimePicker.postCreate(), from:
     postCreate: function(){
      ...
      if (this.showDateWidget == SHOW_CALENDAR.onClick ||
    this.showDateWidget == SHOW_CALENDAR.inline) {
       if(this.showDateWidget == SHOW_CALENDAR.inline){
        domClass.add(this.dateBoxWidget.domNode, 'dijitInline');
       }
       if (this.showDateWidget == SHOW_CALENDAR.onClick) {
              this.imgWidget = domConstruct.create("img", {src:
    this.imageURL, className: "calImage", alt:
    this.calendarIconText});
              domConstruct.place(this.imgWidget, this.calImage);
              //begin change
              this.connect(this.imgWidget, "onclick",
     function(){this.dateBoxWidget.toggleDropDown();});
              //end change
       }
       if (this.showTimeWidget) {
        domClass.add(this.dateBoxWidget.domNode,
     'dateSelectionDoubleInputTextBox');
        domClass.add(this.timeBoxWidget.domNode,
     'dateSelectionDoubleInputTextBox');
       } else {
        domClass.add(this.dateBoxWidget.domNode,
     'dateSelectionSingleInputTextBox');
       }
      } else if (this.showTimeWidget) {
       domClass.add(this.timeBoxWidget.domNode,
     'dateSelectionSingleInputTextBox');
      }
      ...
     }
    
    with these bold lines:
     postCreate: function(){
      ...
      if (this.showDateWidget == SHOW_CALENDAR.onClick ||
    this.showDateWidget == SHOW_CALENDAR.inline) {
       if(this.showDateWidget == SHOW_CALENDAR.inline){
        domClass.add(this.dateBoxWidget.domNode, 'dijitInline');
       }
       if (this.showDateWidget == SHOW_CALENDAR.onClick) {
              this.imgWidget = domConstruct.create("img", {src:
    this.imageURL, className: "calImage", alt:
    this.calendarIconText});
              domConstruct.place(this.imgWidget, this.calImage);
              //begin change
              this.connect(this.imgWidget, "onclick", function(){
               this.dateBoxWidget.focus();
               this.dateBoxWidget.toggleDropDown();}
              );
              //end change
       }
       if (this.showTimeWidget) {
        domClass.add(this.dateBoxWidget.domNode,
     'dateSelectionDoubleInputTextBox');
        domClass.add(this.timeBoxWidget.domNode,
     'dateSelectionDoubleInputTextBox');
       } else {
        domClass.add(this.dateBoxWidget.domNode,
     'dateSelectionSingleInputTextBox');
       }
      } else if (this.showTimeWidget) {
       domClass.add(this.timeBoxWidget.domNode,
     'dateSelectionSingleInputTextBox');
      }
      ...
     }
    

Problem summary

  • Calendar of DateTimePicker opened by clicking on the calendar
    icon is not closed when the control loses focus.
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Express users of
    DateTimePickers with Show Calendar config option set to On
    Click.
    
    PROBLEM DETAILED DESCRIPTION:
    The calendar is closed via the text box of the DateTimePicker's
    onblur(), which is not triggered when the calendar is opened by
    clicking on the calendar icon because that text box does not
    have focus.
    

Problem conclusion

  • Fixed by giving the text box focus before opening the calendar.
    
    FIX AVAILABILITY:
    Fix for 8.0.1.1 is avaialable as part of cumulative Coaches
    toolkit fix for APAR JR47855. More info at
    http://www.ibm.com/support/docview.wss?uid=swg1JR47855
    
    When downloading interim fixes, ensure that the complimentary
    readme is obtained and reviewed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47557

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-19

  • Closed date

    2013-10-03

  • Last modified date

    2013-10-03

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 January 2022