User tests: Successful: Unsuccessful:
The Joomla HTTP framework package provides a magic method to access code, body and headers of a Response object. This way of accessing this data is considered legacy and will not work with the version 4 of the framework package anymore. This PR thus converts all of this to the correct calls to the respective methods. This change is fully backwards compatible and makes the code forward compatible to Joomla 6+. The only thing changing in Joomla 6.0 now will be how to get an HTTP object. This will be changed in the PR to update the dependencies in 6.0.
Alternatively, do a codereview.
In all cases, everything should work the same between the current code and after applying the changes.
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
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_config com_installer com_joomlaupdate Libraries Front End Plugins Unit Tests |
Labels |
Added:
Unit/System Tests
PR-5.4-dev
|
I have tested this item ✅ successfully on 890b8c9
Code review: The changes made by this PR match the (deprecated) magic getters here: https://github.com/joomla-framework/http/blob/3.x-dev/src/Response.php#L38-L45
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
✅ Final test before merge: Named tests, plus additional info:
Not tested:
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-05 06:42:37 |
Closed_By | ⇒ | muhme |
Thank you @Hackwar for your contribution. Thank you @richard67 and @exlemor for testing.
I have tested this item ✅ successfully on 368bf17
I have successfully tested this PR. Thanks @Hackwar for all of your hard work.
I did all of the tests mentioned and much more, but I could not test these 2:
Check the changelog of an extension update in the extension manager - I uploaded and updated 10+ extensions but couldn't find a single 1 that used the Changelog column in Extensions Update Manager ;(. { is that because very few people know about it or because it doesn't work with non-stable versions? }
Test logging in with Yubikey MFA = I don't have a Yubikey ;(
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45825.