Skip Menu |

This queue is for tickets about the JIRA-REST CPAN distribution.

Report information
The Basics
Id: 119092
Status: resolved
Priority: 0/
Queue: JIRA-REST

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

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



Subject: New version completely broken
0.013 worked a treat. 0.014 fails on new() with: JIRA::REST::new: invalid path in URL: '/'
On Thu Dec 01 15:13:18 2016, NHORNE wrote: Show quoted text
> 0.013 worked a treat. 0.014 fails on new() with: > > JIRA::REST::new: invalid path in URL: '/'
Hmm... I'm using it here without problems. Look: Show quoted text
> jira-rest git:(cli) perl -MJIRA::REST -d -e 0 > > Loading DB routines from perl5db.pl version 1.49 > Editor support available. > > Enter h or 'h h' for help, or 'man perldebug' for more help. > > main::(-e:1): 0 > DB<1> p $JIRA::REST::VERSION > 0.014 > DB<2> $j = JIRA::REST->new('https://jira.cpqd.com.br', 'gustavo', '******'); > > DB<3> $i = $j->GET('/issue/HD-40421'); > > DB<4> p $i->{key} > HD-40421
What URL are you passing to the constructor?
Subject: Re: [rt.cpan.org #119092] New version completely broken
Date: Fri, 2 Dec 2016 09:32:16 -0500
To: bug-JIRA-REST [...] rt.cpan.org
From: Nigel Horne <njh [...] bandsman.co.uk>
Show quoted text
> What URL are you passing to the constructor?
https://jira.ncbi.nlm.nih.gov/
Download smime.p7s
application/pkcs7-signature 3.7k

Message body not shown because it is not plain text.

On Fri Dec 02 09:32:40 2016, njh@bandsman.co.uk wrote: Show quoted text
>
> > What URL are you passing to the constructor?
> https://jira.ncbi.nlm.nih.gov/ >
Ah.. got it. The ending slash is causing the problem. Remove it and it should work. I'll make a new release asap fixing this. Thanks!
I just released v0.015 which should appear shortly on CPAN and should fix this. Thanks again!
Subject: Re: [rt.cpan.org #119092] New version completely broken
Date: Fri, 2 Dec 2016 11:13:31 -0500
To: bug-JIRA-REST [...] rt.cpan.org
From: Nigel Horne <njh [...] bandsman.co.uk>
Ah, yes, that fixed it. Thank you.
Download smime.p7s
application/pkcs7-signature 3.7k

Message body not shown because it is not plain text.