? Pending

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
19 Dec 2018

Pull Request for https://twitter.com/akeebabackup/status/1075379522613190657

Summary of Changes

Removes the uninstallation of library extensions when updating them. Because this is just fatally flawed logic.

Testing Instructions

Find a library extension. Install an older version of it. Update it to the latest version. It should still work, now the library will have a consistent ID in the extensions table and using the install script features is actually a safe thing to do.

Expected result

Libraries aren't fatally destroyed when updating them.

Actual result

Libraries are fatally destroyed when updating them, and heaven forbid there's an error during the install/update process (like an install script aborting things...).

Documentation Changes Required

If this fatally flawed behavior is documented somewhere, fix said documentation and offer condolences to those who have had to work around it for the last 9 years.

avatar mbabker mbabker - open - 19 Dec 2018
avatar mbabker mbabker - change - 19 Dec 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2018
Category Libraries
avatar tonypartridge
tonypartridge - comment - 19 Dec 2018

Without starting a debate ?... what if we deprecate the function and just return install within it for now incase anyone is calling the function directly.

avatar mbabker
mbabker - comment - 19 Dec 2018

There are other setup steps required on the update path. The parent class
takes care of those. Deprecating this is not necessary.

On Wed, Dec 19, 2018 at 12:34 PM Tony Partridge notifications@github.com
wrote:

Without starting a debate ?... what if we deprecate the function and
just return install within it for now incase anyone is calling the function
directly.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#23303 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoSgI_WGwfqXpzr0D4Tv7c_w76r6Vks5u6oapgaJpZM4ZadNL
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.
avatar tonypartridge
tonypartridge - comment - 19 Dec 2018

Ok great! Will get a test in later ?
On 19 Dec 2018, 18:37 +0000, Michael Babker notifications@github.com, wrote:

There are other setup steps required on the update path. The parent class
takes care of those. Deprecating this is not necessary.

On Wed, Dec 19, 2018 at 12:34 PM Tony Partridge notifications@github.com
wrote:

Without starting a debate ?... what if we deprecate the function and
just return install within it for now incase anyone is calling the function
directly.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#23303 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoSgI_WGwfqXpzr0D4Tv7c_w76r6Vks5u6oapgaJpZM4ZadNL
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.

    You are receiving this because you commented.
    Reply to this email directly, view it on GitHub, or mute the thread.
avatar tonypartridge
tonypartridge - comment - 20 Dec 2018

I have tested this item successfully on e6a8d8f

Testing installing, upgrading and uninstalling a custom library.


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

avatar tonypartridge tonypartridge - test_item - 20 Dec 2018 - Tested successfully
avatar viocassel
viocassel - comment - 24 Dec 2018

I have tested this item successfully on e6a8d8f


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

avatar viocassel viocassel - test_item - 24 Dec 2018 - Tested successfully
avatar wilsonge wilsonge - change - 24 Dec 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-12-24 13:19:11
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 24 Dec 2018
avatar wilsonge wilsonge - merge - 24 Dec 2018

Add a Comment

Login with GitHub to post a comment