PDA

View Full Version : Extjs 3 to 4 migration



raiwinashu
12 Jun 2012, 4:31 AM
Hi,
I am migrating my application from ext3 version to 4. while debuging with firebug, firebug console displayed following error in ext.all.debug.js file of ext4 line

invalid 'in' operand parent
<CODE>


if (!('$class' in parent)) { for (i in basePrototype) {

if (!parentPrototype[i]) {

parentPrototype[i] = basePrototype[i];

}

}

}





</CODE>
ext-all-debug.js(line 3348) ext4

Please someone help me with this issue. waiting for the reply...

Thanks
Ashwin

scottmartin
12 Jun 2012, 7:49 AM
If you check your call stack, do you see what line is directing you to this error?

You should be using ext-all-dev.js when converting over and clear up all the recommended corrections before you begin to debug.

Scott.

raiwinashu
12 Jun 2012, 7:50 PM
Hi,
Thanks for your reply.
I tried with ext-all-dev.js, still i am getting same error, (ext-all-dev.js line5677)

Thanks
Ashwin

scottmartin
13 Jun 2012, 4:58 AM
Understood, but are there any warnings/suggestion in the console that need to be cleared up based on using the -dev include.

Scott.