Skip Menu |

This queue is for tickets about the SRS-EPP-Proxy CPAN distribution.

Report information
The Basics
Id: 90663
Status: open
Priority: 0/
Queue: SRS-EPP-Proxy

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:57:44 +0530
To: bug-SRS-EPP-Proxy [...] 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.
Attached patch fixes the issue. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: SRS-EPP-Proxy-0.22.patch
diff -Naur SRS-EPP-Proxy-0.22_orig/lib/SRS/EPP/Proxy/UA.pm SRS-EPP-Proxy-0.22/lib/SRS/EPP/Proxy/UA.pm --- SRS-EPP-Proxy-0.22_orig/lib/SRS/EPP/Proxy/UA.pm 2014-01-22 20:03:15.589605776 -0500 +++ SRS-EPP-Proxy-0.22/lib/SRS/EPP/Proxy/UA.pm 2014-01-22 20:05:55.797607875 -0500 @@ -14,7 +14,7 @@ with 'MooseX::Log::Log4perl::Easy'; -enum __PACKAGE__."::states" => qw(waiting busy ready); +enum __PACKAGE__."::states" => [qw(waiting busy ready)]; BEGIN { class_type "HTTP::Request";