Thank you for reporting this bug. We will make it our priority to review this report.
Ext.view.Table Cannot read property 'isSynchronized' of undefined
Ext.view.Table Cannot read property 'isSynchronized' of undefined
Using nightly build Dec 15, 5.1.2.126, which was probably supposed to be called 5.1.1.126.
Under 'Ext.view.Table' I have the following code executing, where cell is null:
Code:
if (column.preventUpdate) {
cell = oldItemDom.firstChild.firstChild.childNodes[column.getVisibleIndex()];
// Mark the field's dirty status if we are configured to do so (defaults to true)
if (markDirty) {
cellFly.attach(cell);
if (record.isModified(column.dataIndex)) {
cellFly.addCls(dirtyCls);
} else {
cellFly.removeCls(dirtyCls);
}
}
}
So at some it fail in removeCls with Uncaught TypeError: Cannot read property 'isSynchronized' of undefined.The full trace is:
Code:
removeCls (Element.js?_dc=…843629221:3065)
Ext.define.handleUpdate (Table.js?_dc=14…843629239:2048)
Ext.define.onUpdate (AbstractView.js…843629244:1104)
fire (Event.js?_dc=1418843629236:387)
doFireEvent (Observable.js?_…8843629228:654)
fireEventArgs (Observable.js?_…8843629228:587)
fireEvent (Observable.js?_…8843629228:540)
Ext.define.onUpdate (GroupStore.js?_…8843629249:379)
fire (Event.js?_dc=1418843629236:387)
doFireEvent (Observable.js?_…8843629228:654)
prototype.doFireEvent (EventDomain.js?…8843629236:293)
fireEventArgs (Observable.js?_…8843629228:587)
fireEvent (Observable.js?_…8843629228:540)
Ext.define.onCollectionItemChange (Store.js?_dc=1418843629223:559)
Ext.define.notify (Collection.js?_…843629229:2971)
Ext.define.itemChanged (Collection.js?_…843629229:1730)
Ext.define.afterChange (Store.js?_dc=1418843629223:563)
Ext.define.afterEdit (Store.js?_dc=1418843629223:572)
Ext.define.privates.callJoined (Model.js?_dc=14…843629230:2333)
Ext.define.set (Model.js?_dc=14…843629230:1145)
Ext.Base.Base.addMembers.callParent (Base.js?_dc=1418843629221:1255)
Ext.define.set (BaseModel.js?_d…18843629227:57)
Ext.define.onCopyDescriptionAndQty (ViewController.…8843629242:259)
Ext.apply.callback (Util.js?_dc=1418843629227:110)
Ext.define.processEvent (Action.js?_dc=1…8843629240:398)
Ext.define.processEvent (Table.js?_dc=14…843629239:1228)
fire (Event.js?_dc=1418843629236:387)
doFireEvent (Observable.js?_…8843629228:654)
prototype.doFireEvent (EventDomain.js?…8843629236:293)
fireEventArgs (Observable.js?_…8843629228:587)
fireEvent (Observable.js?_…8843629228:540)
Ext.define.processItemEvent (Table.js?_dc=14…843629239:2417)
Ext.define.processUIEvent (View.js?_dc=1418843629239:614)
Ext.define.handleEvent (View.js?_dc=1418843629239:562)
fire (Event.js?_dc=1418843629236:387)
Ext.define.fire (Dom.js?_dc=1418843629221:360)
Ext.define.publish (Dom.js?_dc=1418843629221:332)
Ext.define.doDelegatedEvent (Dom.js?_dc=1418843629221:391)
Ext.define.onDelegatedEvent (Dom.js?_dc=1418843629221:372)
(anonymous function) (Function.js?_dc…8843629221:145)
I have doubt on the code quality:Code:
Value of oldItemDom.firstChild == <colgroup role="presentation">…</colgroup>
Value of oldItemDom.firstChild.firstChild == <col role="presentation" class="x-grid-cell-actioncolumn-1546" style="width:50px">
Value of oldItemDom.firstChild.firstChild.childNodes == []
Ext.view.Table Cannot read property 'isSynchronized' of undefined
Aucun commentaire:
Enregistrer un commentaire