Skip Menu |

This queue is for tickets about the Net-PingFM CPAN distribution.

Report information
The Basics
Id: 54276
Status: resolved
Priority: 0/
Queue: Net-PingFM

People
Owner: Nobody in particular
Requestors: matt [...] reinharttech.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.4
Fixed in: 0.5_001



Subject: Bug with Facebook and Image Posting
Hello, I've been developing an app for Ping.fm using Net::PingFM and I've noticed a bit of a bug whenever any Facebook accounts have the 'Upload and post photos to feed' setting enabled in the Ping.FM Dashboard. Whenever the 'Upload and post photos to feed' setting is checked for either Facebook or a Facebook Page, I receive the below error when trying to list the services associated with the account. I am using Net::PingFM 0.4 and Perl 5.8.8 on Gentoo Linux (kernel 2.6.23-gentoo-r8). I am happy to provide you with any additional information upon request. Thanks, Matt Error Message: Attribute (methods) does not pass the type constraint because: Validation failed for 'ArrayRef[PingFM_method]' failed with value ARRAY(0x263c8c0) at /usr/lib64/perl5/site_perl/5.8.8/Moose/Meta/Attribute.pm line 774 Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0x1ee7020)', 'ARRAY(0x263c8c0)', 'Net::PingFM::Service=HASH(0x263ca40)') called at /usr/lib64/perl5/site_perl/5.8.8/Moose/Meta/Attribute.pm line 428 Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0x1ee7020)', 'Moose::Meta::Instance=HASH(0x1ef0ae0)', 'Net::PingFM::Service=HASH(0x263ca40)', 'HASH(0x263c900)') called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Class/MOP/Class.pm line 365 Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0x19ae540)', 'HASH(0x263c900)') called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Class/MOP/Class.pm line 352 Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0x19ae540)', 'HASH(0x263c900)') called at /usr/lib64/perl5/site_perl/5.8.8/Moose/Meta/Class.pm line 205 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x19ae540)', 'HASH(0x263c900)') called at /usr/lib64/perl5/site_perl/5.8.8/Moose/Object.pm line 25 Moose::Object::new('Net::PingFM::Service', 'id', 'facebook', 'name', 'Facebook', 'trigger', '@fb', 'url', 'http://www.facebook.com/', 'icon', 'http://p.ping.fm/static/icons/facebook.png', 'methods', 'ARRAY(0x263c8c0)') called at /usr/lib64/perl5/site_perl/5.8.8/Net/PingFM.pm line 316 Net::PingFM::__service_xml_to_object() called at /usr/lib64/perl5/site_perl/5.8.8/Net/PingFM.pm line 289 Net::PingFM::services('Net::PingFM=HASH(0x2244080)') called at /var/www/netapp/home/lars/library//RTS/PingFM.pm line 79 RTS::PingFM::services('RTS::PingFM=HASH(0x7ab6e0)') called at /var/www/netapp/home/lars/library//RTS/PingFM.pm line 94 RTS::PingFM::services_formatted('RTS::PingFM=HASH(0x7ab6e0)') called at /var/www/netapp/home/myteamcaptain.com/public_html/app2/ajaxEmail.pl line 287
From: draxil [...] gmail.com
Thanks for the report. I'll look into it.
From: draxil [...] gmail.com
Right looks like it's getting a post method it doesn't like try the attached version. I think that should stop it bombing out. If you could also look and tell me what warning it generates then that would also be great, thanks!
Subject: Net-PingFM-0.5_001.tar.gz
Download Net-PingFM-0.5_001.tar.gz
application/x-gzip 19.7k

Message body not shown because it is not plain text.

From: matt [...] reinharttech.com
Your patch seems to have fixed it. Feel free to resolve this issue. :-) Thanks! -Matt