Skip Menu |

This queue is for tickets about the Mojolicious-Plugin-I18N CPAN distribution.

Report information
The Basics
Id: 118762
Status: new
Priority: 0/
Queue: Mojolicious-Plugin-I18N

Owner: Nobody in particular
Requestors: julien [...]

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

Subject: Auto lookup failure handler follows _AUTO setting
Date: Mon, 14 Nov 2016 17:39:04 +0100
To: bug-Mojolicious-Plugin-I18N [...]
From: Julien Jehannet <julien [...]>
Download (untitled) / with headers
text/plain 724b
<>Hi, It appears that the failure handler in i18n plugin (l. 175) defaults to hard-coded behaviour without possibility to change the "fail" attribute or use the _AUTO feature¹ (which has no effect actually). $handle->fail_with(sub { $_[1] }); This fixup restores the Locale::Maketext handler which dies if no entry key is found in lexicon. Legacy code is not broken if default _AUTO snippet was kept. Also, I propose to display missing entries in debug mode. ¹ Patch is available here: Cheers,

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to