Issue Details (XML | Word | Printable)

Key: CORE-4478
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alexander Peshkov
Reporter: Dimitry Sibiryakov
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Failure to load provider/plugin not reported, anywhere

Created: 30/Jun/14 04:56 PM   Updated: 25/May/16 06:26 AM
Component/s: Engine
Affects Version/s: 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

QA Status: Cannot be tested

 Description  « Hide
If a plugin cannot be loaded, there is no information about it anywhere. Even if the plugin is a mission-critical security-related one. IMHO, there must be a way to configure a plugin as a "must work one" and the engine must raise error if such plugin failed to load.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Sean Leyne added a comment - 30/Jun/14 05:16 PM
Restated the Summary for better reading

Alexander Peshkov added a comment - 01/Jul/14 07:12 AM
I like an idea of adding configuration info to distinguish required and not-required plugins. But may be better mark plugins that may be not loaded? Currently I know only one in default configuration - engine12 in client case. When adding non-default entries mentioning in them not-required plugins will be possible but hardly needed.

Alexander Peshkov added a comment - 04/Jul/14 08:29 AM
Added parameter Required to plugins configuration. Sample - section in plugins.conf

Plugin = Engine12 {
   Required = Yes

will make plguin manager raise an error when module for this plugin is missing.

When module is bad (empty, invalid format, etc.) error is reported always no matter of Required value.

Dimitry Sibiryakov added a comment - 04/Jul/14 10:21 AM
What is default value for this parameter?

Alexander Peshkov added a comment - 06/Jul/14 04:15 PM

Dimitry Sibiryakov added a comment - 26/Jul/14 07:55 AM
"true" would be better. With "false" users will have a hard time looking for a mistype in pligin's name.