Skip Menu |

This queue is for tickets about the Geo-Coder-Bing-Bulk CPAN distribution.

Report information
The Basics
Id: 59843
Status: rejected
Priority: 0/
Queue: Geo-Coder-Bing-Bulk

People
Owner: Nobody in particular
Requestors: linfzh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.01
  • 0.02
Fixed in:
  • 0.01
  • 0.02



Subject: About the "Aborted" status
In the "is_pending" method, it only checks whether the status is 'pending'; If it's not, the assumption here seems to be that the status is 'completed'. However, Bing sometimes returns an 'aborted' status indicating that the job was failed (I have encountered this several times). So I guess it might be better to notify this in the documentation so that the users will handle this status in their code.
On Thu Jul 29 17:50:21 2010, linfzh wrote: Show quoted text
> In the "is_pending" method, it only checks whether the status is > 'pending'; If it's not, the assumption here seems to be that the status > is 'completed'. However, Bing sometimes returns an 'aborted' status > indicating that the job was failed (I have encountered this several > times). So I guess it might be better to notify this in the > documentation so that the users will handle this status in their code.
Thank you for the input, but I think it is common practice to always assume that failure is an option.