Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-27401
in
6.7.0.
-
Binding cleanup fails with null values
Affects Ext 6.6 and probably earlier versions.
Test case: https://fiddle.sencha.com/#view/editor&fiddle/2jbm
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
-
Since this hasn't been getting much attention, fix below:
Code:
const fn = function() {
var me = this,
bindings, key, binding;
if (me.$hasBinds) {
bindings = me.getBind();
if (bindings && typeof bindings !== 'string') {
for (key in bindings) {
binding = bindings[key];
if (binding) {
binding.destroy();
binding._config = binding.getTemplateScope = null;
}
}
}
}
me.setBind(null);
};
// Classic Only
Ext.define(null, {
override: 'Ext.Component',
privates: {
removeBindings: fn
}
});
// Needed for both toolkits
Ext.define(null, {
override: 'Ext.Widget',
privates: {
removeBindings: fn
}
});
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
-
Sencha - Support Team
Thanks for the report! I have opened a bug in our bug tracker.