Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MooseX-Attribute-Deflator CPAN distribution.

Report information
The Basics
Id: 72690
Status: resolved
Priority: 0/
Queue: MooseX-Attribute-Deflator

People
Owner: Nobody in particular
Requestors: shantanu.bhadoria [...] gmail.com
Cc:
AdminCc:

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



Subject: structured.t Test Fails, 'Test::Person' has already been created in Moose::Meta::TypeConstraint::Parameterizable and cannot be created again in Moose::Exporter
I get the following Test output when trying to install this module via cpan. t/structured.t ................ The type constraint 'Test::Person' has already been created in Moose::Meta::TypeConstraint::Parameterizable and cannot be created again in Moose::Exporter at /usr/local/lib/perl/5.10.1/Moose/Util/TypeConstraints.pm line 535 Moose::Util::TypeConstraints::_create_type_constraint('MooseX::Types::TypeDecorator=HASH(0x946eaa0)', 'MooseX::Types::TypeDecorator=HASH(0x98ce748)', undef, undef, undef, undef) called at /usr/local/lib/perl/5.10.1/Moose/Util/TypeConstraints.pm line 355 Moose::Util::TypeConstraints::subtype('MooseX::Types::TypeDecorator=HASH(0x946eaa0)', 'HASH(0x98ce768)') called at /usr/local/lib/perl/5.10.1/Moose/Exporter.pm line 349 MooseX::Types::CheckedUtilExports::subtype('MooseX::Types::TypeDecorator=HASH(0x946eaa0)', 'HASH(0x98ce768)') called at t/structured.t line 33 t/structured.t ................ Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/synopsis.t .................. ok HTH. -Shantanu
Hi there, that's a bug that was introduced in the latest version of Moose. If you could install Moose 2.02 the tests will pass. Someone from the Moose dev team is already working on a solution. Cheers, mo
It doesn't seem like this is going to be fixed anytime soon so I released a new version with a workaround.