Hi,
hm, looks like there is going something wrong with the class creation
in the marshaler. So I guess your data is causing a bug in the json
marshaler. Thats why the request is the same and the other stores are
working.
Could you perhaps supply some sample data which causes the problem?
With that data, I can reproduce the behavior and fix the bug. Perhaps
you could also send me the created hash from the marshaler (line 172).
I guess there is the problem.
Regards,
Martin
Am 27.07.2009 um 05:24 schrieb GlebM:
Here is what firebug says:
http://localhost:3000/dev/qooxdoo-0.8.2-sdk/framework/source/class/qx/data/marshal/Json.js
clazz is not a constructor
[Break on this error] return (new clazz()); \n
Full trace:
anonymous("artist created_at display_name id title
updated_at")Json.js (line 173)
anonymous(Object artist=b updated_at=2009-07-24T17:36:38Z
title=a)Json.js (line 207)
anonymous(Object song=Object)Json.js (line 211)
anonymous([Object song=Object 0=Object])Json.js (line 200)
anonymous(qx.io.remote.Response[9k] $$hash=9k
_type=completed)Json.js (line 151)
anonymous(qx.io.remote.Request[undefined] $$user_url=/dj/playlists/
35/songs, qx.io.remote.Response[9k] $$hash=9k _type=completed,
"completed")Direct.js (line 99)
wrappedFunction()Interface.js (line 422)
anonymous(qx.io.remote.Request[undefined] $$user_url=/dj/playlists/
35/songs, qx.io.remote.Response[9k] $$hash=9k
_type=completed)Manager.js (line 809)
anonymous(qx.io.remote.Request[undefined] $$user_url=/dj/playlists/
35/songs, qx.io.remote.Response[9k] $$hash=9k
_type=completed)Registration.js (line 263)
anonymous(qx.io.remote.Response[9k] $$hash=9k
_type=completed)Object.js (line 448)
anonymous(qx.io.remote.Response[9j] $$hash=9j
_type=completed)Request.js (line 513)
anonymous(qx.io.remote.Response[9j] $$hash=9j
_type=completed)Request.js (line 578)
anonymous(qx.io.remote.Exchange[cm] _start=1248664796981 $
$user_state=timeout, qx.io.remote.Response[9j] $$hash=9j
_type=completed, "completed")Direct.js (line 99)
wrappedFunction()Interface.js (line 422)
anonymous(qx.io.remote.Exchange[cm] _start=1248664796981 $
$user_state=timeout, qx.io.remote.Response[9j] $$hash=9j
_type=completed)Manager.js (line 809)
anonymous(qx.io.remote.Exchange[cm] _start=1248664796981 $
$user_state=timeout, qx.io.remote.Response[9j] $$hash=9j
_type=completed)Registration.js (line 263)
anonymous(qx.io.remote.Response[9j] $$hash=9j
_type=completed)Object.js (line 448)
anonymous("completed", "receiving")Exchange.js (line 911)
anonymous("completed")playlist...FDbB64%3D (line 158)
anonymous(qx.event.type.Event[n] $$hash=n
_type=completed)Exchange.js (line 751)
anonymous(qx.io.remote.transport.XmlHttp[cn] $$user_url=/dj/
playlists/35/songs, qx.event.type.Event[n] $$hash=n _type=completed,
"completed")Direct.js (line 99)
wrappedFunction()Interface.js (line 422)
anonymous(qx.io.remote.transport.XmlHttp[cn] $$user_url=/dj/
playlists/35/songs, qx.event.type.Event[n] $$hash=n
_type=completed)Manager.js (line 809)
anonymous(qx.io.remote.transport.XmlHttp[cn] $$user_url=/dj/
playlists/35/songs, "completed", Object name=clazz, Object
name=args)Registration.js (line 294)
anonymous("completed", Object name=clazz, Object name=args)Object.js
(line 468)
anonymous("completed", "receiving")XmlHttp.js (line 867)
anonymous("completed")playlist...FDbB64%3D (line 158)
anonymous(readystatechange )XmlHttp.js (line 435)
anonymous(readystatechange )Function.js (line 292)
[Break on this error] return (new clazz()); \n
I really don't know what to do :( Is it hash collision? Is it just
magic? All the other store.Json's I've got in the program (two of
them) work fine!
View this message in context: Re: qx.data.store.Json "timeout",
while qx.io.remote.Request succeeds
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel