Changed warn to fatal to prevent db corruption
This commit is contained in:
parent
0b81da7433
commit
e9f74cdc0f
2 changed files with 4 additions and 2 deletions
|
|
@ -63,7 +63,9 @@
|
||||||
time ago, but the documentation was never updated until now.
|
time ago, but the documentation was never updated until now.
|
||||||
- Created a new pluggable form control backend. See migration.txt for
|
- Created a new pluggable form control backend. See migration.txt for
|
||||||
details.
|
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
|
6.6.5
|
||||||
- fix [ 1243131 ] In 6.6.4 you cannot upload anything (ebruni/mwilson)
|
- fix [ 1243131 ] In 6.6.4 you cannot upload anything (ebruni/mwilson)
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ sub makeUrlCompliant {
|
||||||
WebGUI::ErrorHandler::warn($cmd." failed to compile because ".$@) if ($@);
|
WebGUI::ErrorHandler::warn($cmd." failed to compile because ".$@) if ($@);
|
||||||
$cmd = $cmd."::makeUrlCompliant";
|
$cmd = $cmd."::makeUrlCompliant";
|
||||||
my $output = eval{&$cmd($url)};
|
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;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue