bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
8 Jul 2023

Pull Request for Issue #41125 .

Summary of Changes

delete if exists

Testing Instructions

see #41125

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 joomla-cms-bot joomla-cms-bot - change - 8 Jul 2023
Category Administration com_joomlaupdate
avatar alikon alikon - change - 8 Jul 2023
Status New Pending
avatar alikon alikon - open - 8 Jul 2023
avatar brianteeman brianteeman - test_item - 8 Jul 2023 - Tested successfully
avatar brianteeman
brianteeman - comment - 8 Jul 2023

I have tested this item successfully on 1275fd2


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

avatar richard67
richard67 - comment - 8 Jul 2023

@alikon The update succeeds with this PR, but I still get a PHP notice:

PHP Notice:  Indirect modification of overloaded property Joomla\\CMS\\Http\\Response::$body has no effect in /home/richard/lamp/public_html/joomla-cms-4.4-dev/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 498

I think it needs a similar modification for that code line here

as you have done with your other PR #41127 for the CLI here:
// Fix Indirect Modification of Overloaded Property
$body = $response->body;
// Write buffer to file
File::write($target, $body);

Would it make sense to fix that with this PR here, too?

avatar alikon alikon - change - 8 Jul 2023
Labels Added: PR-4.4-dev
avatar alikon
alikon - comment - 8 Jul 2023

done

avatar richard67 richard67 - test_item - 8 Jul 2023 - Tested successfully
avatar richard67
richard67 - comment - 8 Jul 2023

I have tested this item successfully on 3309ffc

Hint for other testers: For testing the fix I've updated from a 4.4-dev with this PR applied to a 5.0-dev package where this PR has been merged into.

You can find such a package at https://test5.richard-fath.de/Joomla_5.0.0-alpha3-dev-Development-Update_Package_2023-07-10_test-pr-41127.zip , and you can use the custom update URL https://test5.richard-fath.de/next_major_list_test-pr-41127.xml to update to that package.


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

avatar richard67
richard67 - comment - 8 Jul 2023

@brianteeman Could you repeat your test with the latest changes? Thanks in advance.

avatar MacJoom MacJoom - change - 23 Jul 2023
Labels Added: bug
avatar MacJoom MacJoom - close - 23 Jul 2023
avatar MacJoom MacJoom - merge - 23 Jul 2023
avatar MacJoom MacJoom - change - 23 Jul 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-07-23 11:06:36
Closed_By MacJoom
avatar alikon
alikon - comment - 1 Aug 2023

@MacJoom thanks

Add a Comment

Login with GitHub to post a comment