Skip Menu |

This queue is for tickets about the Brick CPAN distribution.

Report information
The Basics
Id: 27162
Status: resolved
Priority: 0/
Queue: Brick

People
Owner: Nobody in particular
Requestors: agianni [...] buffalo.edu
Cc:
AdminCc:

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



Subject: Using Brick::Profile->lint with bricks from external packages
Brick::Profile->lint() will always fail when attempting to verify a profile that utilizes bricks from an external package. Line 195 of Brick::Profile: eval{ __PACKAGE__->brick_class->bucket_class->can( $method ) }; should really be: eval{ $class->brick_class->bucket_class->can( $method ) }; so that the check is run against the bucket class associated with the current profile rather than the bucket class associated with Brick::Profile.
Fixed in 0.225_02. I've removed all references to __PACKAGE__, which were stopgap measures while I was hacking the interface.