Hi,
I am facing a strange problem. My robot is trying to add a blip to the wave
using:
@Override
public void processEvents(RobotMessageBundle bundle) {
.....
bundle.getWavelet().appendBlip().getDocument().append(SOME_STRING); //
where bundle is the object of RobotMessageBundle class
.....
}
in AppEngine logs, I can see:
com.google.wave.api.AbstractRobotServlet serializeOperations: Outgoing
operations:
{"javaClass":"com.google.wave.api.impl.OperationMessageBundle","operations":{"javaClass":"java.util.ArrayList","list":[{"index":-1,"waveletId":"googlewave.com!conv+root","blipId":null,"javaClass":"com.google.wave.api.impl.OperationImpl","property":{"lastModifiedTime":-1,"contributors":{"javaClass":"java.util.ArrayList","list":[]},"waveletId":"googlewave.com!conv+root","waveId":"googlewave.com!w+Gss2nWBGN","parentBlipId":null,"version":-1,"creator":null,"content":"\nThis
is the content of SOME_STRING
","blipId":"TBD0.9461425416166795","javaClass":"com.google.wave.api.impl.BlipData","annotations":{"javaClass":"java.util.ArrayList","list":[]},"elements":{"map":{},"javaClass":"java.util.HashMap"},"childBlipIds":{"javaClass":"java.util.ArrayList","list":[]}},"waveId":"googlewave.com!w+Gss2nWBGN","type":"WAVELET_APPEND_BLIP"},{"index":0,"waveletId":"googlewave.com!conv+root","blipId":"TBD0.9461425416166795","javaClass":"com.google.wave.api.impl.OperationImpl","property":"This
is the content of
SOME_STRING","waveId":"googlewave.com!w+Gss2nWBGN","type":"DOCUMENT_APPEND"}]},"version":"4"}
but the message 'This is the content of SOME_STRING' appears twice in
the new blip as if it was appended twice.
Any clue what is going on behind the scenes?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---