JR47280: USING THE TABLE CONTROL FROM THE COACHES TOOLKIT, THERE ARE PROBLEMS WITH DELETING ROWS ON THE UI.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using table control from coaches toolkits.  After you add
    rows, you can not delete a row with the red 'X'.  The row still
    remains after clicking delete button
    

Local fix

Problem summary

  • Problem only happens when Table is bound to a list of primitive
    type (i.e. not Object) and the value of a newly added item has
    changed before the delete button is pressed.
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Express users
    who want to use Table to add and delete primitive data of a
    list.
    

Problem conclusion

  • Fix by first removing the following line in bold, see lines
    between "//remove" comments (found in Table's inline
    javascript):
     createRowCoachViews: function(inRowIndex, rowNode) {
      ...
      if (tableView.isRepeating()) {
       var bindingList = tableView.context.binding.get("value");
       var grid = this;
       query("#" + this.id + "_DELETE",
    rowNode).forEach(function(node, index, nodelist){
        rowNode.deleteButton = node;
        node.id += "_" + this.deleteCount++;
        var onclickFunc = function(event) {
         if (domAttr.get(this, "disabled")) {
          return;
         }
         dojoEvent.stop(event); // Prevent cell's focus handling,
    which calls beginUpdate() again.
         grid.domNode.blur();
         //remove
         var storeIndex = Array.indexOf(store.objectStore.data,
    item);
         //remove
         if (storeIndex >= 0) {
        ...
       }, this);
      }
     },
    
    Then, insert the following lines, see lines between "//add"
    comments:
     createRowCoachViews: function(inRowIndex, rowNode) {
      ...
      if (tableView.isRepeating()) {
       var bindingList = tableView.context.binding.get("value");
       var grid = this;
       query("#" + this.id + "_DELETE",
    rowNode).forEach(function(node, index, nodelist){
        rowNode.deleteButton = node;
        node.id += "_" + this.deleteCount++;
        //begin add
        var bpmId = item.bpm_id;
        //end add
        var onclickFunc = function(event) {
         if (domAttr.get(this, "disabled")) {
          return;
         }
         dojoEvent.stop(event); // Prevent cell's focus handling,
    which calls beginUpdate() again.
         grid.domNode.blur();
         //begin add
         var storeIndex = -1;
         for (var i=0; i<store.objectStore.data.length; i++) {
          if (store.objectStore.data[i].bpm_id == bpmId) {
           storeIndex = i;
           break;
          }
         }
         //end add
         if (storeIndex >= 0) {
        ...
       }, this);
      }
     },
    
    FIX AVAILABILITY:
    Fix for 8.0.1.1 is avaialable as part of cumulative Coaches
    toolkit fix for APAR JR47225. More info at
    http://www.ibm.com/support/docview.wss?uid=swg1JR47225.
    
    When downloading interim fixes, ensure that the complimentary
    readme is obtained and reviewed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47280

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-18

  • Closed date

    2013-08-16

  • Last modified date

    2013-08-16

  • 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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Business Process Manager Standard

Software version:

8.0.1

Reference #:

JR47280

Modified date:

2013-08-16

Translate my page

Machine Translation

Content navigation