IBM Support

JR49034: CLICKING REPEATING TABLE BUTTON DOES NOT SELECT ROW IN WHICH THE BUTTON OCCURS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The problem is related to the button that repeats in the Table,
    the JS code generated does not generate a unique dom id so the
    first button in the table is always found and clicked by the
    event handler code.
    

Local fix

  • To correct the issue the user can use a
    modified version of the CoachDesigner.xsl.
    
    Steps to work around the issue:
    =====
    1. Open your process app in Process Designer
    2. In the library panel on the left, expand Toolkits and then
    System Data
    3. Click on All or Files and type xsl to filter the content
    4. Double click on CoachDesigner.xsl open it in the asset editor
    5. In the File section of the editor click the large folder
    icon, this will open the default system browser to save the file
    6. Use the web browser to save the file
    
    7. Edit the file as shown here
    Current code in CoachDesigner.xsl:
    <xsl:template match="tw:Button">
    <xsl:variable name="generateValidationScript"
    select="string-length(tw:EventHandler[@tw:event=&apos;onClick&ap
    os;]/tw:ClientScript/text()) > 0"/>
    <xsl:variable name="generateButtonOnClickScript"
    select="@tw:decisionPoint"/>
    <xsl:variable name="button_id">
    <xsl:value-of select="ancestor::*[@tw:id][position() =
    1]/@tw:id"/>
    <xsl:text>_</xsl:text>
    <xsl:value-of select="@tw:id"/>
    </xsl:variable>
    
    Change the code to the following:
    <xsl:template match="tw:Button">
    <xsl:variable name="generateValidationScript"
    select="string-length(tw:EventHandler[@tw:event=&apos;onClick&ap
    os;]/tw:ClientScript/text()) > 0"/>
    <xsl:variable name="generateButtonOnClickScript"
    select="@tw:decisionPoint"/>
    <xsl:variable name="button_id">
    <xsl:call-template name="getId">
    <xsl:with-param name="startingId"
    select="ancestor::*[@tw:id][position() = 1]/@tw:id"/>
    </xsl:call-template>
    <xsl:text>_</xsl:text>
    <xsl:value-of select="@tw:id"/>
    </xsl:variable>
    
    8. Now with the changes saved to the CoachDesigner.xsl go back
    to Process Designer
    9. In your process app create a Design File using the xsl file
    saved and edited in the previous steps
    10. In your Process App Settings, expand the Heritage Coach
    Designer Settings and for Coach XSL select the Design File
    created in step 9
    11. Save the Process App Settings and try the scenario
    12. If the issue still occurs, make a change to the human
    service and try again
    =====
    

Problem summary

  • Clicking a button within table does not select row in which the
    button is clicked but rather the first button in the table is
    always found and clicked.
    
    AFFECTED EDITIIONS:
    IBM Business Process Manager (BPM) V8.0.1 Advanced, Standard,
    and Express
    
    PROBLEM DETAILED DESCRIPTION:
    The problem is related to buttons that repeat in a Table, the
    Javascript code generated does not create unique Document Object
    Model (DOM) ids so the first button in the table is always found
    and clicked by the event handler code.
    

Problem conclusion

  • A fix for IBM BPM 8.0.1.2 is available where buttons are now
    generated with unique DOM ids so they can be found correctly
    from within any of the event handling code.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR49034:
    
        1. Select the product group, product, installed version, and
    platform, and click Continue.
        2. Select APAR or SPR, enter JR49034, and click Continue.
    
    A fix is also available for 8.5.0.1, through superseding fix for
    APAR JR49272. To obtain, follow the instructions above,
    replacing JR49272 for JR49034.
    
    When downloading fix packages, ensure that you also download the
    readme file for each fix. Review each readme file for additional
    installation instructions and information about the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49034

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-13

  • Closed date

    2014-03-12

  • Last modified date

    2014-03-18

  • 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

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
18 March 2014