Skip Menu |

This queue is for tickets about the WWW-Myspace CPAN distribution.

Report information
The Basics
Id: 20354
Status: resolved
Worked: 15 min
Priority: 0/
Queue: WWW-Myspace

People
Owner: GRANTG [...] cpan.org
Requestors: bill [...] heinekeg.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.49
Fixed in: (no value)



Subject: get_friends( %options ) throws errors when endpage and max count specified.
The error checking routines fail when max count and end page are specified in the get_friends() function as well as the friends_from_profile(). This occurs at Myspace.pm line 1477. What is happening is that, when it checks to make sure that the number of friends gotten equals, or at least is close to the number of friends stated in the profile friend count it croaks, because the limits placed by the get friends options are not reflected in the error checking. These error checking subroutines should probably be placed in an If statement, to check to see if the options have been enabled, or altered to accommodate the options.' This is a problem because if you want to interact with users that have exceptional numbers of friends, it becomes unweildy to attempt to scan their entire friends' list. PS: this bug also exists in .50 Cheers, Bill
Added code to signal acceptable early finishing in get_friends routines.