View Issue Details

IDProjectCategoryView StatusLast Update
0004306JEDI VCL00 JVCL Componentspublic2007-12-16 06:01
ReporterGergelyAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
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
     Plugin.Initialize
   FOnNewCommand (times Nr. of commands)
 FOnAfterLoad
"

However this is not how the program works: FOnAfterLoad is invoked earlier. Is that intentional? It causes bug 2867 in JVCS: http://homepages.borland.com/jedi/issuetracker/view.php?id=2867
TagsNo tags attached.

Activities

AHUser

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