Enhancement #1654
Do not throw an exception if the same plugin is mentioned in multiple config files
Status: | Resolved | Start date: | 11/08/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Plugins | |||
Target version: | Robotics Service Bus - rsb-0.10 |
Description
If you specify the same plugin name to load in multiple configuration files, an exception is thrown during loading of plugins because the matching plugins is then loaded twice.
Related issues
Associated revisions
Allow loading ap lugin multiple times from config
Do not throw an exception in case the same plugin name is
mentioned multiple times in the configuration.
- Configurator.*: Use a set instead of a vector for the collected plugin
matching patterns to ignore multiple same plugin
patterns - ConfiguratorTest.cpp: New unit test for this issue
- CMakeLists.txt: Include new unit tests
fixes #1654
Backport: Allow loading ap lugin multiple times from config
Do not throw an exception in case the same plugin name is
mentioned multiple times in the configuration.
- Configurator.*: Use a set instead of a vector for the collected plugin
matching patterns to ignore multiple same plugin
patterns - ConfiguratorTest.cpp: New unit test for this issue
- CMakeLists.txt: Include new unit tests
refs #1654
History
#1 Updated by J. Wienke over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset rsc|commit:9ece3c95d1921bb980d32e119c14dd10eff68beb.