Skip to content

[4] Ensure updates installed by previous package updates dont error#32936

Merged
rdeutz merged 1 commit intojoomla:4.0-devfrom
PhilETaylor:fixupdater
Mar 31, 2021
Merged

[4] Ensure updates installed by previous package updates dont error#32936
rdeutz merged 1 commit intojoomla:4.0-devfrom
PhilETaylor:fixupdater

Conversation

@PhilETaylor
Copy link
Contributor

@PhilETaylor PhilETaylor commented Mar 30, 2021

Pull Request for Issue #32917

Summary of Changes

Break out of the foreach loop if we cannot load the update information from the database instead of generating an error message.

Testing Instructions

Joomla 4.0-dev (Enable Debug mode in Joomla Global Config)

Install an old version (only just old!) of Akeeba Backup Core (FREE) from https://www.akeeba.com/download/akeeba-backup/8-0-2/pkg_akeeba-8-0-2-core-zip.zip

Once installed go to:

System -> Update -> Extensions
Click Clear Cache
Click Find Updates
See three available updates
Select ALL THREE UPDATES and click UPDATE..... wait.....

Screenshot 2021-03-28 at 23 02 56

Actual result BEFORE applying this Pull Request

Screenshot 2021-03-28 at 23 06 40

Expected result AFTER applying this Pull Request

Depending on when you test there might be more updates available and found, but you should now at least be able to select a package (Akeeba Backup) and all the other updates, and the package (Akeeba Backup) will update the others (as that's what a package is for - doh!) and the others will not error like they did before.

Screenshot 2021-03-30 at 20 37 42

Documentation Changes Required

None.

Additional comments

// @nikosdion @joomdonation @alikon

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>

revert part of the purge

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>

revert deleting on successful install of an update

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>

add trailing period for codestyle

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
@joomdonation
Copy link
Contributor

I have tested this item ✅ successfully on f1303cd


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

@toivo
Copy link
Contributor

toivo commented Mar 31, 2021

I have tested this item ✅ successfully on f1303cd

Tested successfully in Beta8-dev of 30 March in Wampserver 3.2.4 using PHP 8.0.2.


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

@Quy
Copy link
Contributor

Quy commented Mar 31, 2021

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 31, 2021
@PhilETaylor

This comment was marked as abuse.

@rdeutz rdeutz merged commit 04712a6 into joomla:4.0-dev Mar 31, 2021
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Mar 31, 2021
@Quy Quy added this to the Joomla 4.0 milestone Mar 31, 2021
dgrammatiko pushed a commit to dgrammatiko/joomla-cms that referenced this pull request Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants