Skip Menu |

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

Report information
The Basics
Id: 80071
Status: resolved
Priority: 0/
Queue: Net-Amazon-EC2

People
Owner: Nobody in particular
Requestors: akshay [...] grapevine.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.20
Fixed in: (no value)



Subject: describe_instances fails when an instance has a tag with a key but no value
Something simple like the boilerplate example under SYNOPSIS does not work if you have any instance where the TAG has a KEY without a VALUE. my $running_instances = $ec2->describe_instances; The validation for the TagSet fails with something like: Attribute (value) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Amazon::EC2::TagSet::new (defined at /usr/local/share/perl5/Net/Amazon/EC2/TagSet.pm line 32) line 38. Net::Amazon::EC2::TagSet::new('Net::Amazon::EC2::TagSet', 'key', 'Name', 'value', undef) called at /usr/local/share/perl5/Net/Amazon/EC2.pm line 1828 Net::Amazon::EC2::describe_instances(undef) called at ./list line 15
Thanks for the report. It will be fixed in a future version.
On Tue Oct 09 21:56:01 2012, mallen wrote: Show quoted text
> Thanks for the report. It will be fixed in a future version. > >
Do you have any idea when in the future? It's pretty unusable as things stand right now. I don't see a fix in master either.
On Wed Oct 17 16:36:43 2012, AKSHAY wrote: Show quoted text
> Do you have any idea when in the future? It's pretty unusable as things > stand right now. I don't see a fix in master either.
I pushed 93fe26 which should have a fix. Please let me know if it solves your problem. Thanks.
On Thu Oct 18 00:12:56 2012, mallen wrote: Show quoted text
> On Wed Oct 17 16:36:43 2012, AKSHAY wrote:
> > Do you have any idea when in the future? It's pretty unusable as things > > stand right now. I don't see a fix in master either.
> > I pushed 93fe26 which should have a fix. Please let me know if it solves > your problem. > > Thanks.
It does. Thanks, Mark.
On Fri Oct 19 01:52:17 2012, AKSHAY wrote: Show quoted text
> It does. Thanks, Mark.
Great. I will push out 0.21 in a couple days. I have one more pull request I'm waiting on in github before a release.
Just released 0.21