? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
27 Jan 2021

Pull Request for Issue # .

Summary of Changes

This Pull Request (PR) simplifies the code in the new function fixFilenameCasing which has been added to script.php with PR #32006 by using old and new paths which begin with a slash, so it doesn't need to prepend the slash every time we use it.

This makes it also consistent with the calling function deleteUnexistingFiles, where the paths of files and folders to be removed also are paths starting with a slash.

Testing Instructions

Check that the testing instructions from PR #32006 still work on a current staging or latest 3.9.x nightly build after the patch of this PR here has been applied.

Use the update package built by drone for this PR for Update.

Actual result BEFORE applying this Pull Request

Works as described in the testing instructions of PR #32006 .

Expected result AFTER applying this Pull Request

Still works as described in the testing instructions of PR #32006 .

Documentation Changes Required

No.

avatar richard67 richard67 - open - 27 Jan 2021
avatar richard67 richard67 - change - 27 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jan 2021
Category Administration com_admin
avatar richard67 richard67 - change - 27 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 27 Jan 2021
avatar richard67
richard67 - comment - 27 Jan 2021

@jsubri @HLeithner @wilsonge As you had tested PR #32006 , could you test this one here, too? I know, I should have done that immediately with #32006 , that would save you that work for testing now, but I wanted to stay close to the original PR #30802 at that time. Sorry for the additional work.

avatar richard67 richard67 - change - 27 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 27 Jan 2021
avatar richard67
richard67 - comment - 27 Jan 2021

@wilsonge In general a code review should be sufficient here, but I wanna play safe and would like to have at least a test on a weird OS like your OSX ;-)

avatar richard67 richard67 - change - 27 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 27 Jan 2021
avatar jsubri jsubri - test_item - 27 Jan 2021 - Tested successfully
avatar jsubri
jsubri - comment - 27 Jan 2021

I have tested this item successfully on 203bb4c

I performed the same tests, this time using https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/32176/downloads/39651/Joomla_3.9.25-dev+pr.32176-Development-Update_Package.zip
The 3 files are now corrected

Update: The 3 files are corrected as well
Win10, PHP8.

Thank you


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

avatar richard67
richard67 - comment - 27 Jan 2021

@jsubri Thank you!

avatar richard67 richard67 - change - 29 Jan 2021
Labels Added: ?
avatar richard67 richard67 - change - 29 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 29 Jan 2021
avatar richard67 richard67 - change - 29 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 29 Jan 2021
avatar richard67
richard67 - comment - 29 Jan 2021

@jsubri Sorry, I had to make a change. Could you repeat your test? Thanks in advance.

@wilsonge I've reverted the change for handling of errors on moving files. We should do some error handling in another PR, if we decide to do so.

avatar jsubri
jsubri - comment - 29 Jan 2021

Be aware that https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/32176/downloads/39651/ was not rebuilt with the latest commit.
I manually updated script.php with the updates from 3960f11 and re-zipped the package.
Ran "Update & Upload", all files are renamed on Windows.

avatar richard67 richard67 - change - 29 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 29 Jan 2021
avatar richard67
richard67 - comment - 29 Jan 2021

Be aware that https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/32176/downloads/39651/ was not rebuilt with the latest commit.
I manually updated script.php with the updates from 3960f11 and re-zipped the package.
Ran "Update & Upload", all files are renamed on Windows.

@jsubri The link changes after each build. I have made drone build again the packages and just have updated the link in the description of this PR. It is https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/32176/downloads/39683/Joomla_3.9.25-dev+pr.32176-Development-Update_Package.zip now, i.e. build number 39683. Same for the page with all downloads, it is https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/32176/downloads/39683/ now.

avatar richard67
richard67 - comment - 29 Jan 2021

@jsubri Could you set your test result in the issue tracker? Thanks in advance.

avatar jsubri jsubri - test_item - 2 Feb 2021 - Tested successfully
avatar jsubri
jsubri - comment - 2 Feb 2021

I have tested this item successfully on 3960f11

re-tested with the latest Joomla_3.9.25-dev+pr.32176-Development-Update_Package.zip
all good Windows 10.


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

avatar FrederikGostn FrederikGostn - test_item - 3 Feb 2021 - Tested successfully
avatar richard67 richard67 - alter_testresult - 3 Feb 2021 - FrederikGostn: Not tested
avatar richardfrederik67 richardfrederik67 - test_item - 5 Feb 2021 - Tested successfully
avatar richardfrederik67
richardfrederik67 - comment - 5 Feb 2021

I have tested this item successfully on 3960f11


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

avatar richard67 richard67 - alter_testresult - 5 Feb 2021 - richardfrederik67: Not tested
avatar HLeithner HLeithner - change - 24 Feb 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-24 21:35:18
Closed_By HLeithner
avatar HLeithner HLeithner - close - 24 Feb 2021
avatar HLeithner HLeithner - merge - 24 Feb 2021
avatar HLeithner
HLeithner - comment - 24 Feb 2021

Thanks merged by CR

avatar richard67
richard67 - comment - 24 Feb 2021

Thanks

Add a Comment

Login with GitHub to post a comment