[Xml-compile] XML::Compile::SOAP::Trace::error in 2.32

Mark Overmeer mark at overmeer.net
Mon Jan 14 10:47:11 GMT 2013


* Lars Thegler (lars at thegler.dk) [130114 10:13]:
> I believe this issue was fixed by this patch 2.33 -> 2.34:
> 
> @@ -60,7 +60,7 @@ sub compileClient(@)
>          {   $ans = try { $decode->($ans) };
>              if($@)
>              {   $trace->{decode_errors} = $@;
> -                my $fatal = $trace->{error} = $@->wasFatal;
> +                my $fatal = $trace->{errors} = [$@->wasFatal];
>                  $fatal->message($fatal->message->concat("decode error: ", 1));
>              }
> 
> But this introduces another error, since $fatal has now become an array ref:

You're right.  It should have been:
                my $fatal = $@->wasFatal;
                $trace->{errors} = [$fatal];

This bug is servere enough to immediately make a new release.
Version 2.35 is coming to CPAN now.
-- 
Thanks for your report!!

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list