PDA

View Full Version : TypeError: object is not an object - return Object.keys(object);



renganathan
4 Mar 2014, 1:28 AM
Hi All,

i am getting the below error, when i migrated from Extjs 4.1.1 to Extjs 4.2.1

TypeError: object is not an object - return Object.keys(object);

I am not sure where the problem exists so i cannot share the code.

Any idea or clue to fix this issue?

renganathan
4 Mar 2014, 3:42 AM
Found the issue & fixed by replacing code




// old code
values.join(this.separator)

// new code
return {value:values.join(this.separator)};