Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020637Openbravo ERPA. Platformpublic2012-05-30 12:102022-02-01 08:09
mtaal 
Triage Platform Base 
normalminorhave not tried
newout of date 
5
 
 
Core
No
0020637: selectionUpdated event not fired in form personalization tree
Related to issue 20503, the underlying bug/issue with 20503 is that in the latest Smartclient version the selectionUpdated event was not fired when left-clicking a record/element in the form personalization field tree on the left.
The selectionUpdated event is caught implemented in this line in ob-personalize-form.js:

    this.fieldsTreeGrid = isc.OBPersonalizationTreeGrid.create({
      // make a clone so that the original personalization data is not
      // updated, when doing cancel, the original is restored
      fieldData: isc.shallowClone(personalizationData.form.fields),
      personalizeForm: this,
      selectionUpdated: function (record, recordList) {
        this.personalizeForm.selectionUpdated(record, recordList);
      }
    });

But it is not called anymore in the latest Smartclient version. This was solved by implementing this in ob-personalization-treegrid.js:
  // Overridden as it seems that the 8.3 version
  // of SC does not call the selectionUpdated event anymore
  cellClick: function (record, rowNum, colNum) {
    this.deselectAllRecords();
    this.selectRecord(record);
  },

Comment out the cellClick method in ob-personalization-treegrid.js
See 20503: open a window in form personalization mode and left click on fields in the field tree on the left
the properties form in the bottom is not refreshed
Debug more in Isomorphic code to see if it is a smartclient issue, and if so report it on the Smartclient forum.
No tags attached.
related to defect 0020503 closed mtaal Wrong behaviour in form personalitation 
Issue History
2012-05-30 12:10mtaalNew Issue
2012-05-30 12:10mtaalAssigned To => alostale
2012-05-30 12:10mtaalModules => Core
2012-05-30 12:10mtaalRelationship addedrelated to 0020503
2012-05-30 12:15mtaalAssigned Toalostale => mtaal
2012-07-05 22:07mtaalTarget Version3.0MP13 =>
2012-09-24 12:46AugustoMauchNote Added: 0052326
2012-09-24 12:46AugustoMauchStatusnew => scheduled
2016-10-21 10:59mtaalStatusscheduled => closed
2016-10-21 10:59mtaalResolutionopen => out of date
2016-10-21 13:17mtaalTag Attached: MT_closed_out_of_date
2016-10-21 14:08mtaalAssigned Tomtaal => platform
2016-10-21 14:09mtaalStatusclosed => new
2016-10-21 14:10mtaalTag Detached: MT_closed_out_of_date
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0052326)
AugustoMauch   
2012-09-24 12:46   
Effort: 3
Impact: low
Plan: mid