Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: info [...] tomkerswill.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.46



Subject: MyBase::set_options problem
Hi Grant, Just trying to use WWW::Myspace with Catalyst - the only step I've done is to "use" the module as part of the Catalyst routine I'm writing, but just the step of asking Catalyst to use it results in the following error: "The following parameter was passed in the call to WWW::Myspace::MyBase::set_options but was not listed in the validation options: request I had a look in MyBase and read the parts about set_options, and was wondering if there's a bug in myspace... or perhaps it's Catalyst doing something weird.... haven't really been able to find much on Google about it though. Example of line from Catalyst framework - catalyst program gives errors when the line"+WWW::Myspace" is added. This line is synonomous to: "use WWW::Myspace": use Catalyst qw/ -Debug +WWW::Myspace ConfigLoader Authentication Authentication::Store::DBIC Authentication::Credential::Password Session Session::Store::FastMmap Session::State::Cookie HTML::Widget Static::Simple Prototype /; Thanks! Tom
From: info [...] tomkerswill.co.uk
Ah, sorry - that should be: broken in 0.46, fixed in (no value). Sorry about that.
Sounds like Catalyst is calling the "new" method (is that what adding the + sign in front of WWW::Myspace does possibly?) and passing some values too, including "request", which isn't a valid option for WWW::Myspace of course. That error looks like it's coming from the "validate" line in WWW::MyBase::set_options, which is called when a new object is created. On Thu Jun 01 08:04:14 2006, guest wrote: Show quoted text
> Hi Grant, > > Just trying to use WWW::Myspace with Catalyst - the only step I've > done is to "use" the > module as part of the Catalyst routine I'm writing, but just the step > of asking Catalyst to use > it results in the following error: > > "The following parameter was passed in the call to > WWW::Myspace::MyBase::set_options but > was not listed in the validation options: request > > I had a look in MyBase and read the parts about set_options, and was > wondering if there's a > bug in myspace... or perhaps it's Catalyst doing something weird.... > haven't really been able > to find much on Google about it though. > > Example of line from Catalyst framework - catalyst program gives > errors when the > line"+WWW::Myspace" is added. This line is synonomous to: "use > WWW::Myspace": > > use Catalyst qw/ > -Debug > +WWW::Myspace > ConfigLoader > Authentication > Authentication::Store::DBIC > Authentication::Credential::Password > Session > Session::Store::FastMmap > Session::State::Cookie > HTML::Widget > Static::Simple > Prototype > /; > > Thanks! > > Tom
Subject: Re: [rt.cpan.org #19635] MyBase::set_options problem
Date: Thu, 01 Jun 2006 18:45:53 +0100
To: bug-WWW-Myspace [...] rt.cpan.org
From: Tom Kerswill <info [...] tomkerswill.co.uk>
Ah cool, ok. Actually doing a "use WWW::Myspace" seems to work ok in Catalyst - not the "usual" way to do it apparently but it seems to work fine... I'll try and do some more googling and find if it's a Catalyst problem (because I guess catalyst shouldn't pass the request object too Myspace if it isn't a valid option). Thanks, Tom via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=19635 > > > Sounds like Catalyst is calling the "new" method (is that what adding the + sign in front of > WWW::Myspace does possibly?) and passing some values too, including "request", which isn't > a valid option for WWW::Myspace of course. > > That error looks like it's coming from the "validate" line in WWW::MyBase::set_options, which > is called when a new object is created. > > On Thu Jun 01 08:04:14 2006, guest wrote: >
>> Hi Grant, >> >> Just trying to use WWW::Myspace with Catalyst - the only step I've >> done is to "use" the >> module as part of the Catalyst routine I'm writing, but just the step >> of asking Catalyst to use >> it results in the following error: >> >> "The following parameter was passed in the call to >> WWW::Myspace::MyBase::set_options but >> was not listed in the validation options: request >> >> I had a look in MyBase and read the parts about set_options, and was >> wondering if there's a >> bug in myspace... or perhaps it's Catalyst doing something weird.... >> haven't really been able >> to find much on Google about it though. >> >> Example of line from Catalyst framework - catalyst program gives >> errors when the >> line"+WWW::Myspace" is added. This line is synonomous to: "use >> WWW::Myspace": >> >> use Catalyst qw/ >> -Debug >> +WWW::Myspace >> ConfigLoader >> Authentication >> Authentication::Store::DBIC >> Authentication::Credential::Password >> Session >> Session::Store::FastMmap >> Session::State::Cookie >> HTML::Widget >> Static::Simple >> Prototype >> /; >> >> Thanks! >> >> Tom >>
> > > >