Closed GoogleCodeExporter closed 8 years ago
I have the same issue. This is related to issue 68 I think, too.
Original comment by jered.cu...@gmail.com
on 15 Jan 2009 at 11:04
Hi Folks.
I think we may need more information here.
This is fixed as of revision 247.
Please note that if an item fails to load, BulkLoader won't remove it on it's
own. It's up to client code to listen
for ERROR events and decide what to do.
Cheers
Arthur Debert
Original comment by debert
on 18 Jan 2009 at 4:25
Hi,
Ok i see that BulkLoader won't remove it on it's own but what's the way to do
it.
I am trying this but doesn't seems to work properly.
function handleLoaderError(e:ErrorEvent):void
{
var src:Object = e.target;
initXmlLoader.remove(src);
}
any ideas?
Cheers
Original comment by gir...@gmail.com
on 18 Jan 2009 at 9:19
Hi Giroin.
Yup, this currently does not work, as target is assigned to bulkLoader. I need
to make the event retain the
target, but it's not clear how to do this, since BulkLoader has to intercept
the event (so it can check if multiple
tries have been made).
I migh need to restore a custom BulkErrorEvent, and keep the original item
somewhere... I am still thinking
over this...
For now, inside your event handler, you can do something like:
bulkLoader.removeFailedItems();
Cheers
Arthur debert
Original comment by debert
on 19 Jan 2009 at 11:37
Original issue reported on code.google.com by
gir...@gmail.com
on 15 Jan 2009 at 9:42