Skip Menu |

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

Report information
The Basics
Id: 18232
Status: resolved
Priority: 0/
Queue: WWW-Myspace

People
Owner: GRANTG [...] cpan.org
Requestors: info [...] tomkerswill.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.34
Fixed in: (no value)



Subject: post_comment method broken
Hi Grant, It seems that the post_comment method is broken in WWW::Myspace (eg. not in the comments module, but rather the post_comment method in WWW::Myspace itself. It asks for username, password succesfully but then fails. As far as I can see everything in my CPAN has compiled cleanly and is up to date. The error is: No such field 'f_comments' at /usr/lib/perl5/site_perl/5.8.5/WWW/Mechanize.pm line 1178 And the source code is: use WWW::Myspace; my $myspace = new WWW::Myspace(); my $comment="Hi Pete, just dropping by to say hello"; my $friendid=52527557; my $status = $myspace->post_comment( $friendid, $comment ); print "Status: ".$status."\n\n";
Subject: Re: [rt.cpan.org #18232] post_comment method broken
Date: Sat, 18 Mar 2006 14:40:51 -0800
To: bug-WWW-Myspace [...] rt.cpan.org
From: Grant Grueninger <grantg [...] spamarrest.com>
Hi Tom, Thanks. I can't reproduce the error, but I did make a fix to submit_form that should take care of it. submit_form wasn't behaving properly if the form page it was supposed to load failed to load. Instead of seeing the "f_comments" error, you should have gotten a "FN" or "F" return code from post_comments. I'm assuming here that the failure was a temporary myspace issue. If it's persistent, let me know, and also let me know what happens if you post a comment to him manually (you may be getting a new error message the module doesn't know yet). Thanks, Grant On Mar 18, 2006, at 8:46 AM, Guest via RT wrote: Show quoted text
> > Sat Mar 18 11:46:05 2006: Request 18232 was acted upon. > Transaction: Ticket created by guest > Queue: WWW-Myspace > Subject: post_comment method broken > Owner: Nobody > Requestors: info@tomkerswill.co.uk > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18232 > > > > Hi Grant, > > It seems that the post_comment method is broken in WWW::Myspace > (eg. not in the > comments module, but rather the post_comment method in WWW::Myspace > itself. It asks for > username, password succesfully but then fails. As far as I can see > everything in my CPAN has > compiled cleanly and is up to date. The error is: > > No such field 'f_comments' at /usr/lib/perl5/site_perl/5.8.5/WWW/ > Mechanize.pm line 1178 > > And the source code is: > > use WWW::Myspace; > my $myspace = new WWW::Myspace(); > > my $comment="Hi Pete, just dropping by to say hello"; > my $friendid=52527557; > my $status = $myspace->post_comment( $friendid, $comment ); > print "Status: ".$status."\n\n"; >
-- Grant Grueninger Commercial Systems Corporation http://www.cscorp.com/ 818-760-1649