Threaded View
-
6 Oct 2012 3:16 PM #1
Model association bug
Model association bug
I haven't had much time to investigate on this,
but I think I spotted a bug/problem.
When you describe a model -> model assosiaction (hasMany / hasOne) the getters/setters are not correctly placed.
This occurs with extjs 4.1.x
It *might* be a loading time issue or just a glitch.
If you don't explicitly define a setter/getter you end up with this:
ownerProto[getterName] = me.createGetter();
ownerProto[setterName] = me.createSetter();
where getterName and setterName are:
getAPPNAME.models.SomeModel
while it should be
getSomeModel
this can either be fixed at architect level or extjs level...
as long as there is consistency...
M.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote