Working build:
SmartClient Version: SNAPSHOT_v9.0d_2012-11-15/PowerEdition Deployment (built 2012-11-15)
Failing builds:
SmartClient Version: SNAPSHOT_v9.0d_2013-02-11/PowerEdition Deployment (built 2013-02-11)
SmartClient Version: SNAPSHOT_v9.0d_2013-02-19/PowerEdition Deployment (built 2013-02-19)
Recent nightly builds seem to have broken the following functionality.
In a one click handler I select a record and fetch records in a List Grid based on the selection. The 4 records are fetched correctly and displayed.
Then there is a button click handler which is activated after the previous filterData() call completes:
In the broken nightly builds currentRecords returns a single list grid record, i.e. array size 1, of a null record.
In the 11-15-2012 build, currentRecords contains a list grid array of records of size 4 with the expected contents.
Here is the response contents in the broken nightly builds:
endRow:4,
invalidateCache:false,
isDSResponse:true,
operationType:"fetch",
queueStatus:0,
startRow:0,
status:0,
totalRows:4
Any ideas?
SmartClient Version: SNAPSHOT_v9.0d_2012-11-15/PowerEdition Deployment (built 2012-11-15)
Failing builds:
SmartClient Version: SNAPSHOT_v9.0d_2013-02-11/PowerEdition Deployment (built 2013-02-11)
SmartClient Version: SNAPSHOT_v9.0d_2013-02-19/PowerEdition Deployment (built 2013-02-19)
Recent nightly builds seem to have broken the following functionality.
In a one click handler I select a record and fetch records in a List Grid based on the selection. The 4 records are fetched correctly and displayed.
Code:
// myId is derived from this grids selection // secondGrid is a global reference to another grid Criteria detailCrits = new Criteria(); detailCrits.addCriteria("FK_Id", myId); secondGrid.filterData(detailCrits);
Code:
final IButton approveBtn = new IButton("Approve"); approveBtn.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { ListGridRecord [] currentRecords; currentRecords = secondGrid.getRecords(); // More code based on currentRecord contents.... }
In the 11-15-2012 build, currentRecords contains a list grid array of records of size 4 with the expected contents.
Here is the response contents in the broken nightly builds:
endRow:4,
invalidateCache:false,
isDSResponse:true,
operationType:"fetch",
queueStatus:0,
startRow:0,
status:0,
totalRows:4
Any ideas?
Comment