Skip Menu |

This queue is for tickets about the Catalyst-Controller-HTML-FormFu CPAN distribution.

Report information
The Basics
Id: 110907
Status: resolved
Priority: 0/
Queue: Catalyst-Controller-HTML-FormFu

People
Owner: Nobody in particular
Requestors: felix.ostmann [...] gmail.com
Cc:
AdminCc:

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



Subject: HTML::FormFu::Preload warns about deprecated Chained traits
Bugreport written for HTML::FormFu ---- $ perl -MHTML::FormFu::Preload\ 999 Implicit use of the Chained trait is deprecated. Please load MooseX::Attribute::Chained explicitly at /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm line 19. HTML::FormFu::Preload version 999 required--this is only version 2.01. BEGIN failed--compilation aborted. In FormFu 0.09005 this warning also occure and was fixed in 0.09006. From the Changes: 0.09006 2012-01-23 - fixed deprecation warnings of MX::Attribute::Chained (bricas) ... I don't understand what is going on, but i guess there is one missing "use MooseX::Attribute::Chained;" somewhere ... $ for I in $(find HTML/FormFu/ -name "*.pm" | perl -pe 's/\//::/g; s/\.pm//;'); do echo $I; perl -M$I\ 999; done 1>> /tmp/html-formfu.bug 2>&1 $ grep deprecated /tmp/html-formfu.bug -B1 HTML::FormFu::Plugin::RequestToken Implicit use of the Chained trait is deprecated. Please load MooseX::Attribute::Chained explicitly at /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm line 19. -- HTML::FormFu::Preload Implicit use of the Chained trait is deprecated. Please load MooseX::Attribute::Chained explicitly at /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm line 19. -- HTML::FormFu::Element::RequestToken Implicit use of the Chained trait is deprecated. Please load MooseX::Attribute::Chained explicitly at /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm line 19. So the RequestToken is the problem, but i don't see why. They load MooseX::Attribute::Chained explicitly like evey other module. After some digging in other Elements i find MooseX::Attribute::FormFuChained! Changing to FormFuChained in HTML::FormFu::Plugin::RequestToken and HTML::FormFu::Element::RequestToken the warning is gone.
From: felix.ostmann [...] gmail.com
Am Di 05. Jan 2016, 00:41:08, felix.ostmann@gmail.com schrieb: Show quoted text
> Bugreport written for HTML::FormFu > > ---- > > $ perl -MHTML::FormFu::Preload\ 999 > Implicit use of the Chained trait is deprecated. Please load > MooseX::Attribute::Chained explicitly at > /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm > line 19. > HTML::FormFu::Preload version 999 required--this is only version 2.01. > BEGIN failed--compilation aborted. > > > In FormFu 0.09005 this warning also occure and was fixed in 0.09006. > > From the Changes: > 0.09006 2012-01-23 > - fixed deprecation warnings of MX::Attribute::Chained (bricas) > ... > > > > > I don't understand what is going on, but i guess there is one missing > "use MooseX::Attribute::Chained;" somewhere ... > > > > > > $ for I in $(find HTML/FormFu/ -name "*.pm" | perl -pe 's/\//::/g; > s/\.pm//;'); do echo $I; perl -M$I\ 999; done 1>> /tmp/html-formfu.bug
> 2>&1
> > > $ grep deprecated /tmp/html-formfu.bug -B1 > HTML::FormFu::Plugin::RequestToken > Implicit use of the Chained trait is deprecated. Please load > MooseX::Attribute::Chained explicitly at > /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm > line 19. > -- > HTML::FormFu::Preload > Implicit use of the Chained trait is deprecated. Please load > MooseX::Attribute::Chained explicitly at > /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm > line 19. > -- > HTML::FormFu::Element::RequestToken > Implicit use of the Chained trait is deprecated. Please load > MooseX::Attribute::Chained explicitly at > /home/felixostmann/perl5lib/lib/Moose/Meta/Attribute/Custom/Trait/Chained.pm > line 19. > > > > So the RequestToken is the problem, but i don't see why. They load > MooseX::Attribute::Chained explicitly like evey other module. After > some digging in other Elements i find > MooseX::Attribute::FormFuChained! Changing to FormFuChained in > HTML::FormFu::Plugin::RequestToken and > HTML::FormFu::Element::RequestToken the warning is gone.
Sorry for this bugreport at rt.cpan.org. I did not find a repo in the documentation and thought this is the correct why. Later i see that is also is on github.