Preparing for 4.6.8 bug fixes.
This commit is contained in:
parent
c9dcb9dda1
commit
6a5a62c1cf
4 changed files with 5965 additions and 5944 deletions
11878
docs/previousVersion.sql
11878
docs/previousVersion.sql
File diff suppressed because one or more lines are too long
8
docs/upgrades/upgrade_4.6.7-4.6.8.sql
Normal file
8
docs/upgrades/upgrade_4.6.7-4.6.8.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
insert into webguiVersion values ('4.6.8','upgrade',unix_timestamp());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
package WebGUI;
|
||||
our $VERSION = "4.6.7";
|
||||
our $VERSION = "4.6.8";
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# WebGUI is Copyright 2001-2002 Plain Black LLC.
|
||||
|
|
|
|||
|
|
@ -141,13 +141,20 @@ sub _loadWobjects {
|
|||
$namespace = $1;
|
||||
$cmd = "use WebGUI::Wobject::".$namespace;
|
||||
eval($cmd);
|
||||
WebGUI::ErrorHandler::fatalError("Wobject failed to compile: $namespace. ".$@) if($@);
|
||||
$exclude = $session{config}{excludeWobject};
|
||||
$exclude =~ s/ //g;
|
||||
unless (isIn($namespace, split(/,/,$exclude))) {
|
||||
$cmd = "\$WebGUI::Wobject::".$namespace."::name";
|
||||
$session{wobject}{$namespace} = eval($cmd);
|
||||
WebGUI::ErrorHandler::fatalError("No name method in wobject: $namespace. ".$@) if($@);
|
||||
unless ($@) {
|
||||
$exclude = $session{config}{excludeWobject};
|
||||
$exclude =~ s/ //g;
|
||||
unless (isIn($namespace, split(/,/,$exclude))) {
|
||||
$cmd = "\$WebGUI::Wobject::".$namespace."::name";
|
||||
$session{wobject}{$namespace} = eval($cmd);
|
||||
if ($@) {
|
||||
WebGUI::ErrorHandler::warn("No name method in wobject: $namespace. ".$@);
|
||||
$session{wobject}{$namespace} = "ERROR: ".$namespace;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
WebGUI::ErrorHandler::warn("Wobject failed to compile: $namespace. ".$@);
|
||||
$session{wobject}{$namespace} = "ERROR: ".$namespace;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue