? Pending

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
22 Dec 2016

Pull Request for New Issue.

Summary of Changes

The file 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

I don't have an example of a package with a file extension inside,but the issue is the same as #13324

So...

Use latest staging and a package with a file extension + other extensions and make one of the extensions (other than the file extension) fail on install (unzip, add <folder>whatever</folder> to a extension manifest to produce an error and zip again)

  • 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 file extension installed
  • Test patch: Apply patch, install the package and you will see the file extension 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 zero-24 zero-24 - change - 22 Dec 2016
Milestone Added:
avatar andrepereiradasilva
andrepereiradasilva - comment - 23 Dec 2016

@alkarana didn't understand

avatar zero-24
zero-24 - comment - 23 Dec 2016

@andrepereiradasilva he/she spamms i have removed the comment.

avatar zero-24
zero-24 - comment - 23 Dec 2016

I have tested this item successfully on b027bd4

?


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

avatar zero-24 zero-24 - test_item - 23 Dec 2016 - Tested successfully
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 - change - 24 Dec 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-12-24 18:34:51
Closed_By andrepereiradasilva
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - close - 24 Dec 2016
avatar andrepereiradasilva andrepereiradasilva - close - 24 Dec 2016
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