RTC bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
12 Sep 2025

Pull Request for Issue # .

Summary of Changes

In Joomla 6, we use a single instance of ExtensionAdapter to find updates for all extensions/update sites. The latest update found for previous extension is not reset before finding update for the next extension and it causes the strange bug described in the issue #46066. Basically, if the previous extension has higher version number than the next extension, the update for the next extension could not be found.

Testing Instructions

Note that you need to install the two extensions in exactly order above (Akeeba Backup needs to be installed first because it has higher version number than Admin Tools)

Actual result BEFORE applying this Pull Request

  • Update only found for Akeeba Backup

Expected result AFTER applying this Pull Request

  • Update found for both two extensions as expected (since the installed version of the two extensions are outdated)

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomdonation joomdonation - open - 12 Sep 2025
avatar joomdonation joomdonation - change - 12 Sep 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2025
Category Repository Administration com_admin SQL
avatar brianteeman
brianteeman - comment - 12 Sep 2025

appears to work correctly in my limited test

I wonder why the original code was changed

avatar joomdonation
joomdonation - comment - 12 Sep 2025

I wonder why the original code was changed

Look like it was the result of removing some deprecated classes #43794, #43793, #43792. But I haven't looked at the details of all of these PRs yet.

avatar brianteeman
brianteeman - comment - 12 Sep 2025

My worry is that whatever broke the code here may also have broken code elsewhere and we just havent come across it yet. I wouldnt want us to need to keep using sticking plasters

avatar joeforjoomla joeforjoomla - test_item - 12 Sep 2025 - Tested successfully
avatar joeforjoomla
joeforjoomla - comment - 12 Sep 2025

I have tested this item ✅ successfully on e10a351


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

avatar joeforjoomla
joeforjoomla - comment - 12 Sep 2025

Yes it seems to work correctly by resetting the variable.

avatar richard67
richard67 - comment - 12 Sep 2025

@joomdonation Could you update the phpstan-baseline.neon file? It seems PHPStan fails for your PR. It fails for parts of code not changed by your PR, no idea why. You can fix that by running ./libraries/vendor/bin/phpstan -b after having run composer install. IT will not require redo of human tests. Can you do that? Or shall I help?

avatar joomdonation
joomdonation - comment - 12 Sep 2025

@richard67 It would be great if you could help with this PR. I am not familiar with the process yet.

avatar richard67
richard67 - comment - 12 Sep 2025

@joomdonation Funny: Just restarting the PHPStan GitHub action has helped. No idea why. Anyway, no need for any changes on this PR.

avatar joomdonation
joomdonation - comment - 12 Sep 2025

Thanks Richard

avatar richard67 richard67 - change - 12 Sep 2025
Labels Added: bug PR-6.0-dev
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2025
Category Repository Administration com_admin SQL Libraries
avatar richard67 richard67 - alter_testresult - 12 Sep 2025 - joeforjoomla: Tested successfully
avatar richard67
richard67 - comment - 12 Sep 2025

I've restored the previous human test result in the issue tracker as the commit which has invalidated the test count was just an improvement of a code comment.

avatar joomdonation joomdonation - change - 26 Sep 2025
The description was changed
avatar joomdonation joomdonation - edited - 26 Sep 2025
avatar richard67 richard67 - alter_testresult - 26 Sep 2025 - joeforjoomla: Tested successfully
avatar richard67 richard67 - test_item - 26 Sep 2025 - Tested successfully
avatar richard67
richard67 - comment - 26 Sep 2025

I have tested this item ✅ successfully on eeb3106


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

avatar richard67 richard67 - change - 26 Sep 2025
Status Pending Ready to Commit
Build 5.3-dev 6.0-dev
avatar richard67
richard67 - comment - 26 Sep 2025

RTC


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

avatar Bodge-IT Bodge-IT - change - 26 Sep 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-09-26 17:23:49
Closed_By Bodge-IT
Labels Added: RTC
avatar Bodge-IT Bodge-IT - close - 26 Sep 2025
avatar Bodge-IT Bodge-IT - merge - 26 Sep 2025
avatar Bodge-IT
Bodge-IT - comment - 26 Sep 2025

Thanks for the fix @joomdonation and tester @joeforjoomla and tests at last minute @richard67

Add a Comment

Login with GitHub to post a comment