This is the tracker for the Core of the Nucleus CMS-project (Nucleus CMS Website)
FS#142 — Incorrect operation order
Attached to Project— Nucleus Core
Opened by Andrew Black (Frankenstein) - Sunday, 05 March 2006, 10:10PM
Opened by Andrew Black (Frankenstein) - Sunday, 05 March 2006, 10:10PM
| Bug | |
| Plugin API | |
| New | |
| Andrew Black | |
| All |
| High | |
| High | |
| CVS | |
| 3.3 | |
| Undecided | |
|
|
(From http://forum.nucleuscms.org/viewtopic.php?t=11302 )
The order of a couple operations within the ADMIN::deleteOnePlugin() function are reversed. If a plugin (A) is depended upon by another plugin (B) and someone attempts to uninstall plugin A, the uninstall() function in plugin A will be called prior to the aborting of the uninstall process, resulting in a plugin that has had its uninstall actions run, but is still installed. If tables are dropped during this process (as any well behavied plugin should do), this will result in runtime errors.
Patch attached.
To apply, cd to the root directory of your nucleus instalation and apply with 'patch -p0 < plugfix.diff'
The order of a couple operations within the ADMIN::deleteOnePlugin() function are reversed. If a plugin (A) is depended upon by another plugin (B) and someone attempts to uninstall plugin A, the uninstall() function in plugin A will be called prior to the aborting of the uninstall process, resulting in a plugin that has had its uninstall actions run, but is still installed. If tables are dropped during this process (as any well behavied plugin should do), this will result in runtime errors.
Patch attached.
To apply, cd to the root directory of your nucleus instalation and apply with 'patch -p0 < plugfix.diff'
This task depends upon
This task blocks these from closing