? Pending

User tests: Successful: Unsuccessful:

avatar nikosdion
nikosdion
18 Aug 2022

Replaces #38491

Pull Request for Issue #38486 .

Summary of Changes

Add code in extract.php to remove the administrator/cache/autoload_psr4.php file before loading the finalisation.php as the latter might try to use core code which depends on the former.

Testing Instructions

From Joomla 4.0.0

  • Install a Joomla 4.0.0 site
  • Replace administrator/components/com_joomlaupdate, components/com_joomlaupdate, media/com_joomlaupdate, and administrator/language/en-GB/com_joomlaupdate.* with the files from this PR.
  • Log into the backend
  • Do an md5sum of the administrator/cache/autoload_psr4.php file
  • Upgrade the site to Joomla 4.2 using the package built from this PR
  • Try to access your site's frontend
  • Do an md5sum of the administrator/cache/autoload_psr4.php file

From Joomla 4.1.5

  • Install a Joomla 4.1.5 site
  • Log into the backend
  • Do an md5sum of the administrator/cache/autoload_psr4.php file
  • Upgrade the site to Joomla 4.2 using the package built from this PR
  • Try to access your site's frontend
  • Do an md5sum of the administrator/cache/autoload_psr4.php file

Actual result BEFORE applying this Pull Request

The MD5 sums are identical (the autoload_psr4.php file was not removed on update).

Expected result AFTER applying this Pull Request

The MD5 sums are different (the autoload_psr4.php file was removed on update and replaced when accessing your site again).

Documentation Changes Required

None.

avatar nikosdion nikosdion - open - 18 Aug 2022
avatar nikosdion nikosdion - change - 18 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2022
Category Administration com_joomlaupdate
avatar roland-d roland-d - close - 18 Aug 2022
avatar roland-d roland-d - merge - 18 Aug 2022
avatar roland-d roland-d - change - 18 Aug 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-08-18 20:23:50
Closed_By roland-d
Labels Added: ?

Add a Comment

Login with GitHub to post a comment