PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
30 Mar 2023

Summary of Changes

This PR changes the Joomla\CMS\Filesystem\File class over to Joomla\Filesystem\File where possible without any further changes. The remaining 12 files using the CMS class are using methods which aren't in the framework class or are in there differently.

Testing Instructions

Codereview

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 - 30 Mar 2023
Category Administration com_admin com_banners com_config com_finder com_joomlaupdate com_languages com_menus Installation Libraries Front End Plugins
avatar Hackwar Hackwar - open - 30 Mar 2023
avatar Hackwar Hackwar - change - 30 Mar 2023
Status New Pending
avatar laoneo
laoneo - comment - 31 Mar 2023

This needs some proper testing as the system tests are crashing on various places. Really I would split this pr file by file and add proper testing instructions, just to be sure we do not break something.

avatar Hackwar
Hackwar - comment - 31 Mar 2023

The used code in the File classes are identical.

avatar laoneo
laoneo - comment - 31 Mar 2023

Why are then the system tests failing on various places?

avatar sandewt
sandewt - comment - 31 Mar 2023

Cypress, local test: test was NOT scuccessful

Before patch:

pr_40257_before

After patch: and so forth
pr_40257_after

avatar sandewt
sandewt - comment - 31 Mar 2023

Some additional information:

pr_40257_after-2

avatar Hackwar Hackwar - change - 31 Mar 2023
Labels Added: PR-4.4-dev
avatar Hackwar
Hackwar - comment - 31 Mar 2023

I reverted one file which had also calls to File::getExt(). That makes this all pass again.

avatar laoneo laoneo - change - 3 Apr 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-04-03 12:58:35
Closed_By laoneo
avatar laoneo laoneo - close - 3 Apr 2023
avatar laoneo laoneo - merge - 3 Apr 2023
avatar laoneo
laoneo - comment - 3 Apr 2023

Thanks!

Add a Comment

Login with GitHub to post a comment