Skip Menu |

This queue is for tickets about the WebService-StreetMapLink CPAN distribution.

Report information
The Basics
Id: 13820
Status: resolved
Priority: 0/
Queue: WebService-StreetMapLink

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.09
Fixed in: 0.1



Subject: MapQuest subclass is missing the required Priority method
The subject line covers most of what I need to say. The error returned is: Can't locate object method "Priority" via package "WebService::StreetMapLink::MapQuest" at /usr/local/lib/perl5/site_perl/5.8.0/WebService/StreetMapLink.pm line 39, <DATA> line 130.
Date: Thu, 21 Jul 2005 14:49:22 -0500 (CDT)
From: Dave Rolsky <autarch [...] urth.org>
To: via RT <bug-WebService-StreetMapLink [...] rt.cpan.org>
Subject: Re: [cpan #13820] MapQuest subclass is missing the required Priority method
RT-Send-Cc:
On Thu, 21 Jul 2005, via RT wrote: Show quoted text
> The subject line covers most of what I need to say. > > The error returned is: > > Can't locate object method "Priority" via package > "WebService::StreetMapLink::MapQuest" at > /usr/local/lib/perl5/site_perl/5.8.0/WebService/StreetMapLink.pm line > 39, <DATA> line 130.
Hmm, the tests all pass, and there's a default Priority method in the base class. Are you using version 0.09? How did you get this error? -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
From: markstos [...] cpan.org
Show quoted text
> Hmm, the tests all pass, and there's a default Priority method in the > base > class. Are you using version 0.09? How did you get this error?
After looking at the test suite myself, I think I found the error. It's a documentation bug. Neither the main docs or the MapQuest subclass documents show an example of using 'subclass' param with new(). This seems essential to do in the subclass docs. So I called the subclass directly, which is normally a valid thing to do. Thanks for the fast response. Mark
Date: Thu, 21 Jul 2005 15:03:13 -0500 (CDT)
From: Dave Rolsky <autarch [...] urth.org>
To: via RT <bug-WebService-StreetMapLink [...] rt.cpan.org>
Subject: Re: [cpan #13820] MapQuest subclass is missing the required Priority method
RT-Send-Cc:
On Thu, 21 Jul 2005, via RT wrote: Show quoted text
> > This message about WebService-StreetMapLink was sent to you by MARKSTOS <MARKSTOS@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=13820 > >
>> Hmm, the tests all pass, and there's a default Priority method in the >> base >> class. Are you using version 0.09? How did you get this error?
> > After looking at the test suite myself, I think I found the error. It's > a documentation bug. Neither the main docs or the MapQuest subclass > documents show an example of using 'subclass' param with new(). This > seems essential to do in the subclass docs. > > So I called the subclass directly, which is normally a valid thing to > do.
I'm still a bit confused. Can you show me the code that caused the error? I'd like to at least fix the docs. The "subclass" parameter is mentioned in the docs for the new() method. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/