Hey Anthony,

reading the changelog of the latest version which is available on CPAN, it
seems like it's fixed. Here is the Changelog:
https://metacpan.org/source/DHOSS/Catalyst-View-Email-0.33/Changes

Cheers,
Dimitar


On Tue, Mar 5, 2013 at 4:06 PM, Anthony Gladdish <
anthony.gladd...@newcastle.ac.uk> wrote:

> Hi,
>
> Had this been fixed?
>
> I'm afraid I'm still experiencing the same issue with Email::Sender
> v1.300005 :
>
> Caught exception in MyAppt::View::Email::Template->process "Attribute
> (_mailer_obj) does not pass the type constraint because: Validation failed
> for 'Email::Sender::Transport' with value
> Email::Sender::Transport::Test=HASH(0x1eab52e0) at accessor
> Catalyst::View::Email::_mailer_obj
> (defined .../Catalyst/View/Email.pm line 21)
>
> Anthony
>
>
> >-----Original Message-----
> >From: Devin Austin [mailto:devin.aus...@gmail.com]
> >Sent: 11 February 2013 15:10
> >To: The elegant MVC web framework
> >Cc: catalyst@lists.scsys.co.uk
> >Subject: Re: [Catalyst] C::V::Email and Email::Sender 0.120002 ->
> >1.300003
> >
> >Hi,
> >
> >I have a patch from Ilmari that fixes this. Among some other
> >issues, that will be fixed in this next release which I hope to get
> >out today.
> >
> >On Feb 11, 2013, at 7:44 AM, Anthony Gladdish
> ><anthony.gladd...@newcastle.ac.uk> wrote:
> >
> >> Hi,
> >>
> >> Having problems when upgrading from Email::Sender 0.120002
> >-> 1.300003.
> >>
> >> While v1.300003  compiles and "make test" passes, it appears
> >to be no longer working with Catalyst::View::Email ( v0.31 +
> >v0.32 ):
> >>
> >> # 1. Catalyst app config:
> >>
> >> View::Email::Template:
> >>    stash_key: 'email'
> >>    template_prefix: 'email'
> >>    default:
> >>        content_type: 'text/plain'
> >>        charset: 'utf-8'
> >>        view: 'TT'
> >>    sender:
> >>        mailer: Test
> >>
> >>
> >> # 2. some action that sends the email:
> >>
> >> $c->stash->{email} = {
> >>        to            =>  'blah',
> >>        from         => 'blah',
> >>        subject     => 'blah',
> >>        template    => 'blah.tt2',
> >>    };
> >>    $c->forward( $c->view('Email::Template') );
> >>    if ( scalar( @{ $c->error } ) ) {
> >>        $c->error('blah');
> >>        $c->detach('/end');
> >>    }
> >>
> >>
> >> # 3. Test:
> >>
> >> use Test::More;
> >> use Email::Sender::Simple;
> >>
> >> BEGIN {
> >>    $ENV{EMAIL_SENDER_TRANSPORT} = 'Test';
> >> }
> >>
> >> # some button click that calls action above that sends email <-
> >test failing here.
> >>
> >> my @emails = Email::Sender::Simple->default_transport-
> >>deliveries;
> >>
> >>
> >> # Error:
> >>
> >> Caught exception in MyApp::View::Email::Template->process
> >"Attribute (_mailer_obj) does not pass the type constraint
> >because: Validation failed for 'Email::Sender::Transport' with
> >value Email::Sender::Transport::Test=HASH(0x2b875fe017e0) at
> >accessor Catalyst::View::Email::_mailer_obj (defined at ~/
> >locallib/lib/perl5/Catalyst/View/Email.pm line 21) line 18.
> >>
> >> Anyone else getting these sorts of errors?
> >> This test script passed before, until upgrading. Is this
> >something you can help with?
> >>
> >> Regards,
> >> Anthony
> >>
> >> _______________________________________________
> >> List: Catalyst@lists.scsys.co.uk
> >> Listinfo: http://lists.scsys.co.uk/cgi-
> >bin/mailman/listinfo/catalyst
> >> Searchable archive: http://www.mail-
> >archive.com/catalyst@lists.scsys.co.uk/
> >> Dev site: http://dev.catalyst.perl.org/
> >
> >_______________________________________________
> >List: Catalyst@lists.scsys.co.uk
> >Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> >Searchable archive: http://www.mail-
> >archive.com/catalyst@lists.scsys.co.uk/
> >Dev site: http://dev.catalyst.perl.org/
>
> _______________________________________________
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to