Hello,
We see an issue in the latest 8.3 nightly that we also saw in 8.2. Here is the stacktrace:
We tried to write a patch to do a null check on _1 but can't figure out how to apply the patch properly so it is getting ignored. Can you help? Here is what we tried:
We see an issue in the latest 8.3 nightly that we also saw in 8.2. Here is the stacktrace:
Code:
12:14:42.271:TMR7:WARN:Log:TypeError: Cannot call method '$60z' of null Stack from error.stack: isc.A.headerButtonDefaults.getCurrentCursor() Canvas.getTagStart() Canvas._insertHTML() Canvas.draw() StatefulCanvas.draw() ListGrid.updateSorter() [c]Class.fireCallback() Timer._fireTimeout() <anonymous>:1:11() @
Code:
isc.ListGrid.getPrototype().addProperties({ headerButtonDefaults:{ getCurrentCursor:function(){ isc.Log.logInfo("inside current cursor patch"); var _1=this.parentElement?this.parentElement.grid:null;var _2; if(_1&&this.masterIndex!=null){ var _3=_1.getField(this.masterIndex),_4=_1.$66c(_3)!=false;if(_4)_2=isc.Canvas.HAND;else _2=isc.Canvas.DEFAULT }else{ if(this.isSorterButton){ if(!_1&&isc.isA.ListGrid(this.parentElement))_1=this.parentElement; if(_1!=null){ var _4=_1.$66c(_1.$60z())!=false; if(_4)_2=isc.Canvas.HAND;else _2=isc.Canvas.DEFAULT } }else{ _2=this.getClass().getPrototype().cursor} } this.cursor=_2;return this.Super("getCurrentCursor",arguments) }, dragScrollType:"parentsOnly",minWidth:20} })
Comment