Good morning Gleb,
thanks for the data. I gave it a try in a 0.8.2 demo application and
finally managed to reproduce your error and discovered, that it is a
already fixed bug in the class creation. Well, two bugs are playing a
role in this case. The first is, that the class creation in the 0.8.2
version can not handle arrays well. The second bug is, that when the
class creation finds data for a class he already created, he stops
processing. But if some of its kids changed, the class will never be
created and the process will fail (as in your case).
But I guess the fixed trunk does not help you much because you want to
stay on the stable 0.8.2 release. My first idea of a workaround is to
add the two missing properties to the data (user_id and sond_id). That
would fix the problem.
Best,
Martin
Am 28.07.2009 um 02:02 schrieb GlebM:
Hi, Martin!
Here is my data:
[{"song":
{"artist":"b","updated_at":"2009-07-24T17:36:38Z","title":"a","id":
36,"display_name":"a - b","created_at":"2009-07-24T17:36:38Z"}}]
Here is the hash on line 172, right before the (new clazz()) that
fails is called:
"artist created_at display_name id title updated_at"
. The clazz is undefined at line 173.
The funny thing is, that before that, in my songs list, I use a
similar format of data with data.store.Json and it works fine (here
is an example):
[{"song":
{"artist
":"cad","updated_at":"2009-07-25T01:25:44Z","title":"asx","id":
64,"user_id":"2","display_name":"asx -
cad","song_id":"64","created_at":"2009-07-25T01:25:44Z"}},{"song":
{"artist
":"tester","updated_at":"2009-07-27T03:13:49Z","title":"test","id":
101,"user_id":"2","display_name":"test -
tester","song_id":"101","created_at":"2009-07-27T03:13:49Z"}}]
Thank you, Gleb
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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel