From 3dff9d51f087a25f71030ea16241ab512d764815 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 28 May 2008 17:31:25 +0000 Subject: * when checking the attributes from within the config-demuxer, we no longer complain about attributes that belong to plugins which are not installed anyway git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1807 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/OpenSLX/AttributeRoster.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config-db') diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm index 2f7ca3dd..d8659899 100644 --- a/config-db/OpenSLX/AttributeRoster.pm +++ b/config-db/OpenSLX/AttributeRoster.pm @@ -523,6 +523,11 @@ sub findProblematicValues my $value = $stage3Attrs->{$key}; if ($key =~ m{^(.+)::.+?$}) { my $pluginName = $1; + if ($installedPlugins + && !grep { $_->{plugin_name} eq $pluginName } @$installedPlugins) { + # avoid checking attributes of plugins that are not installed + next; + } $attrsByPlugin{$pluginName} ||= {}; $attrsByPlugin{$pluginName}->{$key} = $value; } -- cgit v1.2.3-55-g7522