? Pending

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
22 Dec 2016

Pull Request for New Issue.

Summary of Changes

The module installer adapter is not working correct when a install error exists and the system needs to rollback the changes.
This PR intends to fix that.

Testing Instructions

Use latest staging and use this already made pkg_weblinks.zip corrupted test package (just added <folder>whatever</folder> to plg_finder_weblinks manifest to produce an error)

  • Reproduce the issue

    • Install the corrupted package you will get and error and install of the package should rollback
    • Check extensions manage, order by id, and check you have the module installed
  • Test patch: Apply patch, install the package and you will see the module is now uninstalled correctly on rollback

Documentation Changes Required

None

More info

You can see in the other extension adapters that the var name shoudl be called id, not extension_id, exmaple for plugins and libraries.

Also that is the id that is checked in the installer abort method

avatar andrepereiradasilva andrepereiradasilva - open - 22 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - change - 22 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2016
Category Libraries
avatar andrepereiradasilva andrepereiradasilva - change - 22 Dec 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 22 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - change - 22 Dec 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 22 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - change - 22 Dec 2016
Labels Added: ?
avatar zero-24 zero-24 - change - 22 Dec 2016
Milestone Added:
avatar zero-24
zero-24 - comment - 23 Dec 2016

I have tested this item successfully on ec46eea

? +1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13324.
avatar zero-24 zero-24 - test_item - 23 Dec 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 24 Dec 2016

superseeded by #13363

avatar andrepereiradasilva andrepereiradasilva - close - 24 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - close - 24 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - change - 24 Dec 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-12-24 18:34:45
Closed_By andrepereiradasilva
avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 24 Dec 2016
avatar zero-24 zero-24 - change - 25 Dec 2016
Milestone Removed:

Add a Comment

Login with GitHub to post a comment