View Issue Details

IDProjectCategoryView StatusLast Update
0004306JEDI VCL00 JVCL Componentspublic2007-12-16 06:01
ReporterGergelyAssigned ToAHUser 
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.34 
Summary0004306: FOnAfterLoad of PluginManager fires _before_ registration
DescriptionFrom JvPluginManager.pas:
 Events :
 When loading plugins (LoadPlugins) the events are called in the following order:
 FOnBeforeLoad(Sender, Name, CanLoad)
     Plugin -> Register
   FOnNewCommand (times Nr. of commands)

However this is not how the program works: FOnAfterLoad is invoked earlier. Is that intentional? It causes bug 2867 in JVCS:
TagsNo tags attached.



2007-12-16 06:01

developer   ~0014053

The OnAfterLoad is now fired after the plugin was registered. If the AllowLoad parameter returns False, the plugin becomes unloaded (calls UnloadPlugin() ).

Issue History

Date Modified Username Field Change
2007-12-06 09:02 Gergely New Issue
2007-12-16 06:01 AHUser Status new => resolved
2007-12-16 06:01 AHUser Fixed in Version => Daily / SVN
2007-12-16 06:01 AHUser Resolution open => fixed
2007-12-16 06:01 AHUser Assigned To => AHUser
2007-12-16 06:01 AHUser Note Added: 0014053