IBM Support

JR43760: EVENT ATTACHED TO CALENDAR CONTROL GETS CALLED TWICE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Event attached to a Calendar in Heritage coach is being called
    twice
    
    1) Create a Human service
    
    2) Drag and Drop Heritage coach
    3) Drag and Drop date selector control
    4) For control #3 , click on Events tab under properties
    5) Create "onClick" event
    6) Fill in <start> alert("I am an alert Box!"); </end> under
    script
    7) Run service
    8) As soon as you click on date selector , you will find alert
    box
    popping up twice
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of BPM Express, BPM Standard, and     *
    *                  BPM Advanced.                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: An Event attached to Date Selector      *
    *                      Control in Heritage coachs gets called  *
    *                      twice.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    pageLoadOperation() gets called twice, once when coach page
    loads and second if it is called in setupInitialVisibility(),
    so same method gets called twice when page loads. Onclick
    event is wrapped in an anonymous function, anonymous function
    is bound to Date selector when pageLoadOperations()
    gets called. pageLoadOperations() is called twice when page
    loads, therefore the anonymous function gets bound to Date
    Selector twice, so when you click it, event executes twice.
    

Problem conclusion

  • To correct this functionality, pageLoadOperations() function
    had to be removed from coach_designer.js to prevent duplicate
    execution of event.
    
    Fix is available on FixCentral.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43760

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-14

  • Closed date

    2012-09-26

  • Last modified date

    2012-09-26

  • 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 STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021