?
avatar gsexton
gsexton
30 Mar 2016

Steps to reproduce the issue

Create a library that contains an uinstall block with a SQL file.
Install the library and then uninstall it.

Expected result

The SQL file defined in the uninstall block should be executed.

Actual result

The SQL Script is not executed.

System information (as much as possible)

Joomla 3.5

Viewing libraries/cms/installer/adapter/component.php, JInstallerAdapterComponent.uninstall() contains the block:
try
{
$this->triggerManifestScript('uninstall');
} catch (RuntimeException $e){
// Ignore errors for now
}
A corresponding block is not present in library.php JInstallerAdapterLibrary.uninstall()

if this is deemed a NOTFIX or WONTFIX, then this page:

https://docs.joomla.org/Manifest_files

should be modified to explicitly reflect that uninstall scripts are not supported for library extensions.

Additional comments

avatar gsexton gsexton - open - 30 Mar 2016
avatar wilsonge wilsonge - change - 8 May 2016
Status New Confirmed
avatar mbabker
mbabker - comment - 25 May 2017

Will track this in #6015 (technically it's two different issues but the long and short of it is it all boils down to things not running standardized paths at the moment).

avatar mbabker mbabker - change - 25 May 2017
The description was changed
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-05-25 02:10:54
Closed_By mbabker
avatar mbabker mbabker - close - 25 May 2017

Add a Comment

Login with GitHub to post a comment