There is no public release date available for these version at this time.
Regards,
Scott.
There is no public release date available for these version at this time.
Regards,
Scott.
Scott, any thoughts on getting this fixed? http://www.sencha.com/forum/showthre...939#post811939
No CRUD can be be done with any Store or TreeStore until fixed...
Hi,
Ext.util.observable is broken. I'll file an official bug report soon.
Ext.util.Observable.js/prepareClass seems to be broken, the instance variable won't have property hasListeners, created. It only has the capitalized varible, HasListener, so addListener code, and many other event handling code parts related to Ext.util.Observable fails.
Are you mixing it into your own custom class? If so, be sure to call the observable constructor.
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.
Hi,
Yes, I've mixed it in to a custom class created by me. If I remember right, calling the Obervable's constructor was not mandatory in previous versions, was it?
It was, it's just that by chance it happened to work ok without it. You should call the mixin constructor.
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.
Ok, it works fine when calling the constructor. It was just a bit misleading, that it was never mentioned in any of the examples I've seen previously, that if the Observable is mixed in, it's constructor must be called. Thanks for opening my eyes!
Maybe it would be wise to mention it in the documentation also.
I don't know whether it's already been reported or not, but the getter and setter functions of the model associations are not generated:
(from documentation)
Code:Ext.define('Address', { extend: 'Ext.data.Model', fields: [{ name: 'id', type: 'int' }, { name: 'number', type: 'string' }, { name: 'street', type: 'string' }, { name: 'city', type: 'string' }, { name: 'zip', type: 'string' }] }); Ext.define('Person', { extend: 'Ext.data.Model', fields: [{ name: 'id', type: 'int' }, { name: 'name', type: 'string' }, { name: 'address_id', type: 'int' }], associations: { type: 'hasOne', model: 'Address' } }); var person = newPerson({ id: 100, address_id: 20, name: 'John Smith' }); // There's no person.getAddress method
Assocations is expected to be an array, it's a typo in the docs. I'll fix it up.
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.