BLIP_DELETED is not dispatched to robot

1 view
Skip to first unread message

atarno

unread,
Jan 20, 2010, 4:06:37 PM1/20/10
to Google Wave API
hi,

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!

atarno

unread,
Jan 20, 2010, 4:12:36 PM1/20/10
to Google Wave API
everything seems to work in the sandbox.
is there a chance BLIP_DELETED is not propagated only in wave preview
environment?

pamela (Google Employee)

unread,
Jan 20, 2010, 6:46:39 PM1/20/10
to google-...@googlegroups.com
As Wave Preview and Wave Sandbox are currently running the same code,
I don't think there should be a difference.
Did you increase the version in your capabilities file?

- 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.
>
>
>
>

atarno

unread,
Jan 21, 2010, 6:02:32 AM1/21/10
to Google Wave API
hey pamela,

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:

atarno

unread,
Jan 21, 2010, 3:10:30 PM1/21/10
to Google Wave API
pamela,

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

pamela (Google Employee)

unread,
Jan 31, 2010, 4:18:32 PM1/31/10
to google-...@googlegroups.com
I have confirmed the issue with BLIP_DELETED and reported to the team.
Please track by starring this issue:
http://code.google.com/p/google-wave-resources/issues/detail?id=645
Reply all
Reply to author
Forward
0 new messages