Greetings Wavelings,

Possibly since the upgrade yesterday, it seems that the incoming
events JSON sent to robots lacks data about gadget states.


This is an example JSON we received prior to the change (that DOES
contain the gadget state):

{"blips":{"map":{"b+0fl6NvZy%V":{"lastModifiedTime":
1252516930588,"contributors":{"javaClass":"java.util.ArrayList","list":
["[email protected]","thewe-
[email protected]","[email protected]"]},"waveletId":"wavesandbox.com!
conv+root","waveId":"wavesandbox.com!w+0fl6NvZy
%U","parentBlipId":null,"version":
125,"creator":"[email protected]","content":"\n","blipId":"b
+0fl6NvZy
%V","javaClass":"com.google.wave.api.impl.BlipData","annotations":
{"javaClass":"java.util.ArrayList","list":[]},"elements":{"map":{"0":
{"javaClass":"com.google.wave.api.Gadget","properties":{"map":
{"a":"*************** THIS IS PART OF THE GADGET STATE
***************","url":"http://wave.thewe.net/gadgets/theWE-wave/theWE-
container.xml","_gadget-id":"http://wave.thewe.net/gadgets/theWE-wave/
theWE-
container.xml0.7770268813772112"},"javaClass":"java.util.HashMap"},"type":"GADGET"}},"javaClass":"java.util.HashMap"},"childBlipIds":
{"javaClass":"java.util.ArrayList","list":
[]}}},"javaClass":"java.util.HashMap"},"events":
{"javaClass":"java.util.ArrayList","list":[{"timestamp":
1252516930634,"modifiedBy":"[email protected]","javaClass":"com.google.wave.api.impl.EventData","properties":
{"map":{"blipId":"b+0fl6NvZy
%V"},"javaClass":"java.util.HashMap"},"type":"DOCUMENT_CHANGED"}]},"wavelet":
{"lastModifiedTime":
1252516930634,"title":"","waveletId":"wavesandbox.com!conv
+root","rootBlipId":"b+0fl6NvZy
%V","javaClass":"com.google.wave.api.impl.WaveletData","dataDocuments":
{"map":{},"javaClass":"java.util.HashMap"},"creationTime":
1252500968589,"waveId":"wavesandbox.com!w+0fl6NvZy%U","participants":
{"javaClass":"java.util.ArrayList","list":
["[email protected]","thewe-
[email protected]","[email protected]"]},"creator":"[email protected]","version":
126}}

This is what we get right now [by adding a chess gadget and making
some moves - we are sure that the gadget contains a state since after
sending the wave to another participant the state was the same]:

 {"blips":{"map":{"b+yAJzrxmG%u":{"lastModifiedTime":
1254048268181,"contributors":{"javaClass":"java.util.ArrayList","list":
["[email protected]"]},"waveletId":"wavesandbox.com!conv
+root","waveId":"wavesandbox.com!w+yAJzrxmG
%t","parentBlipId":null,"version":
21,"creator":"[email protected]","content":"\n ","blipId":"b
+yAJzrxmG
%u","javaClass":"com.google.wave.api.impl.BlipData","annotations":
{"javaClass":"java.util.ArrayList","list":[{"range":
{"start":-1,"javaClass":"com.google.wave.api.Range","end":
0},"name":"conv/
title","value":"","javaClass":"com.google.wave.api.Annotation"}]},"elements":
{"map":{"1":{"javaClass":"com.google.wave.api.Gadget","properties":
{"map":{"":"***************** WE SHOULD'VE SEEN GADGET STATE HERE
****************","author":"[email protected]","category":"chess","url":"http://
gerculanum.appspot.com/gadgets/
com.example.chessgadget.client.ChessGadget.gadget.xml","pref":""},"javaClass":"java.util.HashMap"},"type":"GADGET"}},"javaClass":"java.util.HashMap"},"childBlipIds":
{"javaClass":"java.util.ArrayList","list":
[]}}},"javaClass":"java.util.HashMap"},"robotAddress":"[email protected]","events":
{"javaClass":"java.util.ArrayList","list":[{"timestamp":
1254048269563,"modifiedBy":"[email protected]","javaClass":"com.google.wave.api.impl.EventData","properties":
{"map":{"blipId":"b+yAJzrxmG
%u"},"javaClass":"java.util.HashMap"},"type":"BLIP_SUBMITTED"}]},"wavelet":
{"lastModifiedTime":
1254048269563,"title":"","waveletId":"wavesandbox.com!conv
+root","rootBlipId":"b+yAJzrxmG
%u","javaClass":"com.google.wave.api.impl.WaveletData","dataDocuments":
{"map":{},"javaClass":"java.util.HashMap"},"creationTime":
1254048026820,"waveId":"wavesandbox.com!w+yAJzrxmG%t","participants":
{"javaClass":"java.util.ArrayList","list":
["[email protected]","[email protected]"]},"creator":"[email protected]","version":
22}}

Is this a known issue? This is completely halting our development of
an elaborate gadget-blip replication mechanism.

Thanks,
Ayal.

--
http://thewe.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to