PDA

View Full Version : Unable to get property 'hasOwnProperty' of undefined or null reference.



princeamar
26 Sep 2016, 2:12 AM
My app works perfectly in all other browsers but breaks in IE -7 . The error from the debugger is:

SCRIPT5007: Unable to get property 'hasOwnProperty' of undefined or null reference.
File: Field.js, Line: 121, Column: 5

When i Open This file got this line of code in field.js file.

if (!config.hasOwnProperty('convert')) {
this.convert = this.type.convert;
}

Could anyone please suggest what is the issue.?

Gary Schlosberg
26 Sep 2016, 5:46 AM
Looks like this was a bug (IE not supporting hasOwnProperty) which was fixed in 4.2.4.
https://www.sencha.com/forum/showthread.php?264355

princeamar
26 Sep 2016, 9:19 PM
Looks like this was a bug (IE not supporting hasOwnProperty) which was fixed in 4.2.4.
https://www.sencha.com/forum/showthread.php?264355

Thanks you so much for your reply :-)