? ? Failure

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
24 Dec 2016

Pull Request for several Issues.

Summary of Changes

This PR makes a normalizes of JInstaller type adapters storeExtension methods, and also makes all extensions rollback when installing a package with several extensions.

Also normalizes install/update storeExtensions methods of all type adapters (except language that does not seems to use it). Probably, reading the old code, there are other issues that were solved also.

Testing Instructions

This need to be tested carefully and with all install types: file, package, library, template, module, component and plugin.

A first test: Code review.

A second test:
Pre-requiste: Use this broken weblinks package (i made an error on the last extension manifest xml file so the package install fails). pkg_weblinks-broken.zip

  • Without patch install the broken package, notice it fails, but when you go to extension manage some extensions of the package are installed, also notice the module is installed in modules.
  • Now manualy remove the leftover extensions trough Extension manage
  • Now, with patch applied install the broken package, notice it fails, but when you go to extension manage NO extensions of the package are installed, also notice the module is NOT installed in modules.

More tests:
This needs to be tested with all type of extensions: on install and on update.

Documentation Changes Required

None.

Notes

  • The component storeExtension method add some hardcoded stuff reggarding to delete exisiting (that the other types don't have), not sure if needed - removed it, if needed will add it back.
  • Some extension types don't process the discover_install, i didn't touch that part.
avatar andrepereiradasilva andrepereiradasilva - open - 24 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - change - 24 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Dec 2016
Category Administration Language & Strings Libraries
b97333b 24 Dec 2016 avatar andrepereiradasilva cs
avatar andrepereiradasilva andrepereiradasilva - change - 24 Dec 2016
Labels Added: ? ?
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Jan 2017

I have tested this item successfully on cc517df

Without Patch: "Extension > Manage" Extensions of the package and Module are installed
With Patch: No Extensions of the package or Module are installed


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13363.
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 14 Jan 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Aug 2018

If this Issue get no Response, it will be closed at 22th September 2018.

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Sep 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-09-23 05:20:04
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 23 Sep 2018
Closed_Date 2018-09-23 05:20:04 2018-09-23 05:20:05
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 23 Sep 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Sep 2018

This has been closed due to lack of response to the requests above – it can always be reopened.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13363.

avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Sep 2018

Add a Comment

Login with GitHub to post a comment