User tests: Successful: Unsuccessful:
Pull Request for Issue #40411
This small PR deletes administrator/cache/autoload_psr4.php to prevent fatal error when Joomla is updated using CLI. See #40411 to understand more about the issue.
Please note that this can only fix the issue when users update from next Joomla release 4.3.1 to future Joomla releases. If users update from 4.3.0 or earlier to future Joomla version using CLI, the issue will still happen.
cli/joomla.php core:update
The file administrator/cache/autoload_psr4.php is not deleted, thus causes fatal error when there is changes in new Joomla version requires re-generate namespace map, for example, there new plugin added or plugin converted to new structure...
The file administrator/cache/autoload_psr4.php is deleted . It will be re-generated on next page load, thus no fatal error anymore
Please select:
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
Expected result AFTER applying this Pull Request
The file administrator/cache/autoload_psr4.php is not deleted . It will be re-generated
it means is deleted and It will be re-generated, right ?
it means is deleted and It will be re-generated, right ?
yeap
Use Joomla 4.3
Also can use older 4.2 version. And copy changes from the PR.
it means is deleted and It will be re-generated, right ?
yeap
?
@Fedik What @alikon means is that in the testing instructions that sentence is wrong in the expected result section, maybe because of having been copied from the actual result section. @joomdonation Could you fix that? Thanks in advance.
means is that in the testing instructions that sentence is wrong in the expected result section
yes, I understood that, also seen :)
sorry for the noise folks, wanted to be sure i've done my test correctly, as i've understood reading the code
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-04-21 18:33:06 |
Closed_By | ⇒ | obuisard | |
Labels |
Added:
?
Release Blocker
bug
PR-4.3-dev
|
Thank you Tuan @joomdonation for the PR
I have tested this item✅ successfully on c287579
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40437.