No error handling events in BulkLoader?

34 views
Skip to first unread message

Gerry

unread,
Jul 21, 2010, 9:28:15 AM7/21/10
to BulkLoader users
I've had issues with images not found in my loading sequence and there
isn't any error handling events with BulkLoader. I can't find them
anyway... am I missing something?
Currently if an image or asset isn't found BulkLoader just stops
loading so my progress indicator freezes. I need to provide the user
with some sort of message. I'm using the latest version of BulkLoader.

Thanks,

-Gerry

Arthur Debert

unread,
Jul 26, 2010, 9:52:08 AM7/26/10
to bulkload...@googlegroups.com
Hi Gerry.

Sorry for taking this long to get back, but I was on vacation.

I am not sure what you mean by 'stop loading'. If one item of the
queue fails, the queue should simply stop. If that is not what you
are experiencing, I'd appreciate a reduced test case and a bug report
so I can look into it.

In short you attach 'error' listeners to a BulkLoader instance. Any
items that fail will trigger that handler. That gives you the chance
to recover (say, showing a message to the user, or removing that item
from the queue if you can leave without it). You can also attach
listeners to an individual item.

That's it. The only caveat is that if one item fails to load, the
COMPLETE event for that BulkLoader instance will never fire.

I'am also unsure whether error handling information is not hard to
find. Maybe a few pointers:
- Error handling at the wiki[1].
- COMPLETE events and errors[2]

Best regards
[1] http://code.google.com/p/bulk-loader/wiki/HowToUseEvents#Error
[2] http://code.google.com/p/bulk-loader/wiki/FAQ#Complete_never_fires_if_there_is_an_error?
--
Arthur Debert
www.stimuli.com.br

Reply all
Reply to author
Forward
0 new messages