Skip Menu |

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

Report information
The Basics
Id: 90675
Status: open
Priority: 0/
Queue: Net-Amazon-HadoopEC2-S3fs

People
Owner: Nobody in particular
Requestors: upasna.shukla [...] gmail.com
Cc:
AdminCc:

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



Subject: New Moose may break your code
Date: Sat, 23 Nov 2013 07:58:53 +0530
To: bug-Net-Amazon-HadoopEC2-S3fs [...] rt.cpan.org
From: "Upasana Shukla" <upasna.shukla [...] gmail.com>
We recently changed the syntax of enum declarations in Moose types. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org.
Subject: [PATCH] New Moose may break your code
Attached patch fixes the issue -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: Net-Amazon-HadoopEC2-S3fs-0.02.patch
diff -Naur Net-Amazon-HadoopEC2-S3fs-0.02_orig/lib/Net/Amazon/HadoopEC2/S3fs/Inode.pm Net-Amazon-HadoopEC2-S3fs-0.02/lib/Net/Amazon/HadoopEC2/S3fs/Inode.pm --- Net-Amazon-HadoopEC2-S3fs-0.02_orig/lib/Net/Amazon/HadoopEC2/S3fs/Inode.pm 2014-01-21 21:41:12.736550752 -0500 +++ Net-Amazon-HadoopEC2-S3fs-0.02/lib/Net/Amazon/HadoopEC2/S3fs/Inode.pm 2014-01-21 21:41:31.048550992 -0500 @@ -5,7 +5,7 @@ my $BLOCKSIZE = 2 ** 25; -enum inode_types => qw( file directory ); +enum inode_types => [qw( file directory )]; has path => ( is => 'rw', isa => 'Str' ); has fs => ( is => 'ro', isa => 'Net::Amazon::HadoopEC2::S3fs', required => 1);