Unicode plugin - rework exception handler
authorWallace Reis <wallace@reis.me>
Sun, 26 May 2013 14:53:58 +0000 (16:53 +0200)
committerWallace Reis <wallace@reis.me>
Sun, 26 May 2013 14:53:58 +0000 (16:53 +0200)
commit4fb27043578a31f1ffd7498d1097c817a932d173
treee2fd13324af3b5dc545797573a377b4f82f68c40
parent43ef80517090ffc0392cfbd980ff4777957fa139
Unicode plugin - rework exception handler

For apps in the third case (doing its own decoding/encoding), we are
not setting an ->encoding object and then request cycle might blow
up during prepare time (when we would do the params decoding). Thus,
we change the default behavior from rethrow of this exception to a
simple warning.
lib/Catalyst/Plugin/Unicode/Encoding.pm
t/lib/ACLTestApp.pm
t/lib/ChainedActionsApp.pm
t/lib/TestAppDoubleAutoBug.pm
t/lib/TestAppIndexDefault.pm
t/lib/TestAppMatchSingleArg.pm
t/lib/TestAppOneView.pm
t/lib/TestAppWithoutUnicode.pm [new file with mode: 0644]
t/lib/TestAppWithoutUnicode/Controller/Root.pm [new file with mode: 0644]
t/unicode_plugin_no_encoding.t [new file with mode: 0644]