IBM Support

JR63035: YOU SEE AN ERROR AND DATA ISN'T EXPORTED WHEN THE LIST TO BE EXPORTED FROM THE DATA EXPORT COACH VIEW CONTAINS NO ENTRIES

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

  • The Data Export coach view doesn't export a .csv file when the
    list to be exported contains no entries. However, you see the
    following error in the web console:
    
    /teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W/
    BPMExt-Controls.min.js:264 Uncaught TypeError: Cannot convert
    undefined or null to object
        at Function.keys (<anonymous>)
        at Object._getData
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:264)
        at Object._generateWorksheet
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:271)
        at subclass.constructor._proto.constructor.exportFile
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:279)
        at HTMLButtonElement._instance.btn.onclick
    (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W
    /BPMExt-Controls.min.js:289)
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    

Local fix

  • You can prevent this issue by checking the data in the "On
    click" event of the Data Export coach view and returning true or
     false based on the data present.
    
    if (me.getData() && me.getData().length() > 0) {
      console.log("data has content");
      return true;
    } else {
      console.log("data has NO content");
      return false;
    }
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures the Data
    Export coach view exports a list even when the list to export
    contains no entries.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR63035

  • 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-11-13

  • Closed date

    2020-11-24

  • Last modified date

    2020-11-24

  • 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