Migrating my project to SmartClient_SNAPSHOT_v100d_2014-07-26_LGPL version today, I found that call to
throws exeption. Short look points to the source of that in this portion of code in requestVisibleRows() function in ISC_Grids.js
where <this.body> was null in fact, and <this.body.overflow> lead to exception.
Change <else> to <else if (this.body != null && !this.body._reused)> repair situation for me.
So, it looks like null-check of this.body are missed.
Isn't it?
(Don't know when this code appear, but in June 05 build at least it was not present, so it's quite new code.)
Code:
someTree.fetchData()Code:
39485 } else {
39486 // If our data isn't a resultSet, ensure that showAllRows reflects this.showAllRecords
39487 // This is required for the case where we are databound and grouped so this.data
39488 // was a resultSet when this method last ran and is now a client-side tree with
39489 // complete results
39490 this.body.showAllRows = (this.body.overflow == isc.Canvas.VISIBLE ?
39491 true : this.showAllRecords);
39492 }Change <else> to <else if (this.body != null && !this.body._reused)> repair situation for me.
So, it looks like null-check of this.body are missed.
Isn't it?
(Don't know when this code appear, but in June 05 build at least it was not present, so it's quite new code.)