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

  • Use Joomla 6 (this does not happen on Joomla 5 because in Joomla 5, we create new instance of ExtensionAdapter to find update for each extension)
  • Follow instructions #46066 at, confirm the issue
  • Apply patch, confirm that the issue is fixed.

Would be great if @joeforjoomla and @brianteeman can test this PR because you two understand the issue already

Actual result BEFORE applying this Pull Request

  • Update might not be found for certain extension

Expected result AFTER applying this Pull Request

  • Update found for every extension has new version available

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.

Add a Comment

Login with GitHub to post a comment