uperl/Mojolicious-Plugin-TtRenderer

Fails with Template 2.28

Closed this issue · 2 comments

andk commented

As per subject. Sample fail report:

http://www.cpantesters.org/cpan/report/16c03044-cfdc-11e8-b091-5537120d321a

Regression analysis:

****************************************************************
Regression 'mod:Template'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    7345308499965355.00
[1='eq_2.27']        -0.0000          0.0000      -0.81
[2='eq_2.28']        -1.0000          0.0000    -6207918731039250.00

R^2= 1.000, N= 146, K= 3
****************************************************************

confirmed, I have a fix for one of the test failures, absolute paths are being used where relative paths used to be in order to handle . not being in @INC in recent Perls.

As for the second, the second path is being ignored for some reason. I checked in the debugger it is being added here:

https://github.com/plicease/Mojolicious-Plugin-TtRenderer/blob/40d68302950cf3564a3f52d213cfe2efe0e5acf6/t/multiple_paths.t#L20

But this only gets called once for the second request:

https://github.com/plicease/Mojolicious-Plugin-TtRenderer/blob/40d68302950cf3564a3f52d213cfe2efe0e5acf6/lib/Mojolicious/Plugin/TtRenderer/Engine.pm#L185-L197

and when it does it is of course looking in the first directory.

fixed in 1.60