Skip Menu |

This queue is for tickets about the Apache-Solr CPAN distribution.

Report information
The Basics
Id: 100860
Status: resolved
Priority: 0/
Queue: Apache-Solr

People
Owner: Nobody in particular
Requestors: kris [...] ebi.ac.uk
Cc:
AdminCc:

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



Subject: Spelling mistake in Apache::Solr::Result: _getResult should be _getResults
Date: Thu, 11 Dec 2014 14:46:52 +0000
To: bug-Apache-Solr [...] rt.cpan.org
From: Kristian Gray <kris [...] ebi.ac.uk>
The call: my $doc = $result->selected(0); causes the following error: Can't locate object method "_getResult" via package "Apache::Solr::Result” Looking at the source there is no _getResult but there is a _getResults. Kris
Subject: Re: [rt.cpan.org #100860] Spelling mistake in Apache::Solr::Result: _getResult should be _getResults
Date: Thu, 11 Dec 2014 15:50:21 +0100
To: Kristian Gray via RT <bug-Apache-Solr [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Kristian Gray via RT (bug-Apache-Solr@rt.cpan.org) [141211 14:47]: Show quoted text
> Thu Dec 11 09:47:04 2014: Request 100860 was acted upon. > Transaction: Ticket created by kris@ebi.ac.uk > Queue: Apache-Solr > Subject: Spelling mistake in Apache::Solr::Result: _getResult should be _getResults > > my $doc = $result->selected(0); > Can't locate object method "_getResult" via package "Apache::Solr::Result” > Looking at the source there is no _getResult but there is a _getResults.
Does it work when you change it? If I remember well, there has been a rename somewhere during development. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #100860] Spelling mistake in Apache::Solr::Result: _getResult should be _getResults
Date: Thu, 11 Dec 2014 14:53:20 +0000
To: bug-Apache-Solr [...] rt.cpan.org
From: Kristian Gray <kris [...] ebi.ac.uk>
Yep it works. The error is on line 158 in the selected method. Kris Show quoted text
> On 11 Dec 2014, at 14:50, Mark Overmeer via RT <bug-Apache-Solr@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=100860 > > > * Kristian Gray via RT (bug-Apache-Solr@rt.cpan.org) [141211 14:47]:
>> Thu Dec 11 09:47:04 2014: Request 100860 was acted upon. >> Transaction: Ticket created by kris@ebi.ac.uk >> Queue: Apache-Solr >> Subject: Spelling mistake in Apache::Solr::Result: _getResult should be _getResults >> >> my $doc = $result->selected(0); >> Can't locate object method "_getResult" via package "Apache::Solr::Result” >> Looking at the source there is no _getResult but there is a _getResults.
> > Does it work when you change it? > If I remember well, there has been a rename somewhere during development. > -- > Regards, > MarkOv > > ------------------------------------------------------------------------ > Mark Overmeer MSc MARKOV Solutions > Mark@Overmeer.net solutions@overmeer.net > http://Mark.Overmeer.net http://solutions.overmeer.net > >
Subject: Re: [rt.cpan.org #100860] Spelling mistake in Apache::Solr::Result: _getResult should be _getResults
Date: Thu, 11 Dec 2014 15:55:09 +0100
To: Kristian Gray via RT <bug-Apache-Solr [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Kristian Gray via RT (bug-Apache-Solr@rt.cpan.org) [141211 14:47]: Show quoted text
> Thu Dec 11 09:47:04 2014: Request 100860 was acted upon. > Transaction: Ticket created by kris@ebi.ac.uk > Queue: Apache-Solr > Subject: Spelling mistake in Apache::Solr::Result: _getResult should be _getResults > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=100860 > > > Can't locate object method "_getResult" via package "Apache::Solr::Result”
Oh, I see now. It's a mistake in last week's release. I will upload version 1.01 to CPAN now. Sorry MarkOv