Smartclient v10.0 - clicking on a menu pops-up an error as shown in th attached file.
This is specific to ISC_Grid.js.
This is the line number 1204 in ISC_Grids.js file.
var _2=this.$60z();if(_2!=null||(this.$73p&&this.$73p.length>0)){var _3=(_2!=null?this.getField(_2):null),_4=_3!=null?this.getFieldName(_3):null,_5=this.$766(_3),_6={fieldName:_4,sortDir:_5},_7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort");_7.clearProperty("sortIndex");_7.clearProperty("normalizer");_7.clearProperty("context");_7.clearProperty("$114u");_6.sortSpecifiers=_7;if(_1)return _6;return"("+isc.Comm.serialize(_6,false)+")"}},isc.A.setSortState=function isc_ListGrid_setSortState(_1){_1=this.evalViewState(_1,"sortState")
This is the line of code which is causing this problem:
_7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort")
Here _7 is coming as undefined and on accessing clearProperty() through this undefined we are getting this pop-up.
We need a fix for this issue on priority.
This is specific to ISC_Grid.js.
This is the line number 1204 in ISC_Grids.js file.
var _2=this.$60z();if(_2!=null||(this.$73p&&this.$73p.length>0)){var _3=(_2!=null?this.getField(_2):null),_4=_3!=null?this.getFieldName(_3):null,_5=this.$766(_3),_6={fieldName:_4,sortDir:_5},_7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort");_7.clearProperty("sortIndex");_7.clearProperty("normalizer");_7.clearProperty("context");_7.clearProperty("$114u");_6.sortSpecifiers=_7;if(_1)return _6;return"("+isc.Comm.serialize(_6,false)+")"}},isc.A.setSortState=function isc_ListGrid_setSortState(_1){_1=this.evalViewState(_1,"sortState")
This is the line of code which is causing this problem:
_7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort")
Here _7 is coming as undefined and on accessing clearProperty() through this undefined we are getting this pop-up.
We need a fix for this issue on priority.
Comment