Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

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

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

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



X History Display mode: Brief headersFull headers
#   Fri Jul 07 13:15:18 2006 guest - Ticket created  
Subject: get_friends( %options ) throws errors when endpage and max count specified.
[text/plain 860b]
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

#   Sun Oct 01 16:59:28 2006 GRANTG - Correspondence added 15 min  
[text/plain 72b]
Added code to signal acceptable early finishing in get_friends routines.
#   Sun Oct 01 16:59:30 2006 RT_System - Status changed from 'new' to 'open'  
#   Sun Oct 01 16:59:31 2006 GRANTG - Status changed from 'open' to 'resolved'  
#   Sun Oct 01 16:59:32 2006 GRANTG - Given to GRANTG