RTC PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
28 Mar 2025

Pull Request for Issue # .

Summary of Changes

A minor bug fix/ clean up to File::upload() method arguments after we migrated from CMS FileSystem to Framework Filesystem package. Basically, unlike the CMS FileSystem package, the File::upload() method in Framework Filesystem package only has 3 parameters, see https://github.com/joomla-framework/filesystem/blob/3.x-dev/src/File.php#L285

So passing the fourth argument in File::upload call is not correct (PHP currently ignores the extra parameter, but it should be fixed anyway). Also, the third argument has same value with default value in method definition, so it could be omitted to make it consistent with other File::upload calls in our code.

Testing Instructions

  • Use Joomla 5.3 nightly build
  • Apply patch
  • Try to install an extension

Or code review should be enough, too.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works

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 - 28 Mar 2025
avatar joomdonation joomdonation - change - 28 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2025
Category Administration com_installer com_joomlaupdate
avatar exlemor exlemor - test_item - 29 Mar 2025 - Tested successfully
avatar exlemor
exlemor - comment - 29 Mar 2025

I have tested this item ✅ successfully on 9c260f5

I have tested this successfully- installed and uninstalled a few Components (small to complex), as well as modules, and plugins.

Thanks @joomdonation!


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

avatar krishnaGandhi11 krishnaGandhi11 - test_item - 29 Mar 2025 - Tested successfully
avatar krishnaGandhi11
krishnaGandhi11 - comment - 29 Mar 2025

I have tested this item ✅ successfully on 9c260f5

Thanks @joomdonation!


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

avatar alikon alikon - change - 29 Mar 2025
Status Pending Ready to Commit
avatar alikon
alikon - comment - 29 Mar 2025

RTC


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

avatar laoneo laoneo - close - 17 Apr 2025
avatar laoneo laoneo - merge - 17 Apr 2025
avatar laoneo laoneo - change - 17 Apr 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-04-17 07:47:21
Closed_By laoneo
Labels Added: RTC PR-5.3-dev
avatar laoneo
laoneo - comment - 17 Apr 2025

Thanks!

Add a Comment

Login with GitHub to post a comment