Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MooX-Options CPAN distribution.

Report information
The Basics
Id: 90632
Status: resolved
Priority: 0/
Queue: MooX-Options

People
Owner: Nobody in particular
Requestors: Support [...] RoxSoft.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.99
Fixed in: 4.000



Subject: Role applies unwanted methods to consuming class
In MooX::Options::Role the use Moo::Role should be the last of the use lines. As you have it now Path::Class which exports file and dir subs is having those subs applied to the role's consuming class as methods. This is a known "feature" in Moo Your preferred bug tracker has no apparent way to raise a new issue, so this instead
Le Ven 22 Nov 2013 11:41:31, PJFL a écrit : Show quoted text
> In MooX::Options::Role the use Moo::Role should be the last of the use > lines. As you have it > now Path::Class which exports file and dir subs is having those subs > applied to the role's > consuming class as methods. This is a known "feature" in Moo > > Your preferred bug tracker has no apparent way to raise a new issue, > so this instead
My preferred report tracking need a subscription. I will try to activate Google Auth soon. You can also use github to report bug. Can you please provide a test case when the issue show up ?
Le Ven 22 Nov 2013 11:41:31, PJFL a écrit : Show quoted text
> In MooX::Options::Role the use Moo::Role should be the last of the use > lines. As you have it > now Path::Class which exports file and dir subs is having those subs > applied to the role's > consuming class as methods. This is a known "feature" in Moo > > Your preferred bug tracker has no apparent way to raise a new issue, > so this instead
Ok I have understand :) I fix right now, I will release v4 soon.
Le Ven 22 Nov 2013 11:41:31, PJFL a écrit : Show quoted text
> In MooX::Options::Role the use Moo::Role should be the last of the use > lines. As you have it > now Path::Class which exports file and dir subs is having those subs > applied to the role's > consuming class as methods. This is a known "feature" in Moo > > Your preferred bug tracker has no apparent way to raise a new issue, > so this instead
Ok fixed, and I have a test that ensure only the method I want to import (all except the one I need in the role), is exported to the target. fixed in next release
Le Ven 22 Nov 2013 16:12:29, CELOGEEK a écrit : Show quoted text
> Le Ven 22 Nov 2013 11:41:31, PJFL a écrit :
> > In MooX::Options::Role the use Moo::Role should be the last of the > > use > > lines. As you have it > > now Path::Class which exports file and dir subs is having those subs > > applied to the role's > > consuming class as methods. This is a known "feature" in Moo > > > > Your preferred bug tracker has no apparent way to raise a new issue, > > so this instead
> > > Ok fixed, and I have a test that ensure only the method I want to > import (all except the one I need in the role), is exported to the > target. > > fixed in next release
fixed v4.000. I have also switch to github for collecting issues :) please test it and report if any further problems