From b55ca3fba8b56ec89e8c17516e2497189e2f1222 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 2 Jun 2008 20:50:39 +0000 Subject: fixed problem reported by Michael: * improved robustness of config-demuxer and OSPlugin::Engine with respect to checking of attributes for plugins that no longer exist - now the config-demuxer will no longer fail, but print a warning about non-existing plugins (and their attributes) instead. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1835 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/OpenSLX/OSPlugin/Engine.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os-plugins/OpenSLX/OSPlugin/Engine.pm') diff --git a/os-plugins/OpenSLX/OSPlugin/Engine.pm b/os-plugins/OpenSLX/OSPlugin/Engine.pm index fff68bf1..bde1b962 100644 --- a/os-plugins/OpenSLX/OSPlugin/Engine.pm +++ b/os-plugins/OpenSLX/OSPlugin/Engine.pm @@ -530,7 +530,10 @@ sub _loadPlugin my $pluginModule = "OpenSLX::OSPlugin::$self->{'plugin-name'}"; my $plugin = instantiateClass( - $pluginModule, { pathToClass => $self->{'plugin-path'} } + $pluginModule, { + acceptMissing => 1, + pathToClass => $self->{'plugin-path'}, + } ); return if !$plugin; -- cgit v1.2.3-55-g7522