i'd like my robot to catch BLIP_DELETED events.
my robots capabilities.xml looks like this:
?xml version="1.0" encoding="utf-8"?>
<w:robot xmlns:w="http://wave.google.com/extensions/robots/1.0">
<w:capabilities>
<w:capability name="FORM_BUTTON_CLICKED" content="true" />
<w:capability name="WAVELET_SELF_ADDED" content="true" />
<w:capability name="BLIP_DELETED" content="true" />
<w:capability name="WAVELET_SELF_REMOVED" content="true"
context="children"/>
</w:capabilities>
<w:version>1.1.5</w:version>
</w:robot>
in the java code i try to catch the blip_deleted event as follows:
public void processEvents(RobotMessageBundle bundle)
{
...
List<Event> events = bundle.getEvents();
for (Event event : events) {
switch(event.getType()){
...
case BLIP_DELETED:
doSomething(event, bundle);
break;
...
}
}
...
}
i trace the AE logs and i see that that doSomething() method is not
called.
i think that this flow worked fine once, prior to the latest wave
version release, but i'm not sure.
do i miss anything here, or this is a bug?
thanks!
- pamela
> --
> You received this message because you are subscribed to the Google Groups "Google Wave API" group.
> To post to this group, send email to google-...@googlegroups.com.
> To unsubscribe from this group, send email to google-wave-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
>
>
>
>
thanks for a prompt response.
actually i was wrong, this doesn't work in the sandbox too.
just no more BLIP_DELETED notifications for my bot :(
i see in the transactions data i store on the bot's end, that this
worked ok till december 22 2009.
is there anything that has been changed after that date?
do your bots continue to receive BLIP_DELETED events as expected?
thanks a lot
atarno
http://code.google.com/p/wavorizer/source/browse
On Jan 21, 1:46 am, "pamela (Google Employee)" <pamela...@gmail.com>
wrote:
are you sure the sandbox and the preview are running a same code?
i call event.getButtonName() on FORM_BUTTON_CLICKED event.
in the sandbox this method started to return null, in the preview this
still works ok.
last time i've checked my bot a couple of days ago everything worked
fine in both environments.
thanks