Recently upgraded my sencha touch 2 codebase to Phonegap 2.2.0. I have a problem logging the json objects in xcode debugging output.
console.log(obj) throws
[LOG] error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures.
Any idea, where am i going wrong?
Thanks,
Nuthan
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
Typically such serialization issues can occur in a scenario like:
Class Employee has member class Manager which has a member class Employee...
What you'd have to do is have the manager member being managerID
Obviously my example is made up but I hope you get the drift... -
-
I dont get the drift, I am not clear what needs to done to fix this.
Thanks,
Nuthan -
-
Hello Guys
I got this same it seems on IOS 6 safari they cache each ajax request even though u have not ask it to do; ( TYPICAL APPLE SMARTNESS )
Anways you can either put a timestamp with each of the request or set the ajax request header to no cache that will work.
you wont get that cyclic issue.
Thanks -
-
Tried setting proxy in Sencha store's header : {
type : 'ajax',
header:'Cache-Control: private, max-age=0, must-revaliate'}
and
header("Cache-Control: no-cache, must-revalidate"); in php scripts
None worked.. still the same problem -
-
It seems to be a Language setting problem on your iPad. Try to set language to English and see if it works.
-
Loading Profile...




