diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 814aa8533..0d583cf76 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -63,7 +63,9 @@ time ago, but the documentation was never updated until now. - Created a new pluggable form control backend. See migration.txt for details. - + - Changed warning generated when a languagepack misses the makeUrlCompliant + procedure to a fatal error, since this will lead to a false url in the asset + table. 6.6.5 - fix [ 1243131 ] In 6.6.4 you cannot upload anything (ebruni/mwilson) diff --git a/lib/WebGUI/International.pm b/lib/WebGUI/International.pm index 7512e1af3..01f057600 100644 --- a/lib/WebGUI/International.pm +++ b/lib/WebGUI/International.pm @@ -184,7 +184,7 @@ sub makeUrlCompliant { WebGUI::ErrorHandler::warn($cmd." failed to compile because ".$@) if ($@); $cmd = $cmd."::makeUrlCompliant"; my $output = eval{&$cmd($url)}; - WebGUI::ErrorHandler::warn("Couldn't execute ".$cmd." because ".$@) if ($@); + WebGUI::ErrorHandler::fatal("Couldn't execute ".$cmd." because ".$@.". Maybe your languagepack misses the makeUrlCompliant method?") if ($@); return $output; }