IBM Support

JR63329: VALIDATION USING .SETVALID() API ON A TABLE COACH VIEW IN THE UI TOOLKIT DOESN'T WORK

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

  • When the Table coach view is marked as invalid by calling the
    .setValid(false,"error text") JavaScript API, the error text is
    not displayed. Instead, the following error message is shown in
    the browser's console:
    
    Error on validate event [/Table1]: TypeError: Cannot read
    property 'parentElement' of undefined
    Call stack: TypeError: Cannot read property 'parentElement' of
    undefined
        at Object._updateValidation
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:1345:484)
        at subclass.constructor._proto.constructor.validate
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:1383:68)
        at
    Object._2f6.ui.addViewValidationError._2f6.ui.addViewValidationE
    rror
    (https://localhost:12319/teamworks/script/coachNG/dojo/1.10.5/do
    jo/dojo.js?build=202101291045:2:96907)
        at subclass._2f6.ui._setViewValid [as setValid]
    (https://localhost:12319/teamworks/script/coachNG/dojo/1.10.5/do
    jo/dojo.js?build=202101291045:2:97574)
        at eval (eval at
    _2f6.ui.registerEventHandlingFunction._2f6.ui.registerEventHandl
    ingFunction
    (https://localhost:12319/teamworks/script/coachNG/dojo/1.10.5/do
    jo/dojo.js?build=202101291045:2:114332), <anonymous>:3:521)
        at Array.forEach (<anonymous>)
        at subclass.eval [as _execILeventON_CLICK] (eval at
    _2f6.ui.registerEventHandlingFunction._2f6.ui.registerEventHandl
    ingFunction
    (https://localhost:12319/teamworks/script/coachNG/dojo/1.10.5/do
    jo/dojo.js?build=202101291045:2:114332), <anonymous>:3:469)
        at
    Object._2f6.ui.executeEventHandlingFunction._2f6.ui.executeEvent
    HandlingFunction
    (https://localhost:12319/teamworks/script/coachNG/dojo/1.10.5/do
    jo/dojo.js?build=202101291045:2:116333)
        at HTMLButtonElement._instance.btn.onclick
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:55:255)
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures the error
    text is displayed when the .setValid(false,"error text")
    JavaScript API is called.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR63329

  • 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

    2021-02-11

  • Closed date

    2021-02-19

  • Last modified date

    2021-03-23

  • 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

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

Document Information

Modified date:
21 June 2021