? ? ? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
11 Jan 2021

Pull Request for Issues #23725 and #30736 .

Replaces Pull Request #30802 .

Summary of Changes

This pull request (PR) attempts to implement case sensitive file rename and rename some incorrectly cased files.

It is based on PR #30802 plus my corrections for OSX.

Thanks to @SharkyKZ for the original PR #30802.

Testing Instructions

Testers please report back which server operating system (Linux, Windows, OSX) you have used for your test. If you have several available, test with all of them.

Install Joomla! <= 3.9.23 => check the following files:

$files = array(
'libraries/src/Filesystem/Support/Stringcontroller.php' => 'libraries/src/Filesystem/Support/StringController.php',
'libraries/vendor/paragonie/sodium_compat/src/Core/Xsalsa20.php' => 'libraries/vendor/paragonie/sodium_compat/src/Core/XSalsa20.php',
'media/mod_languages/images/si_LK.gif' => 'media/mod_languages/images/si_lk.gif',
);

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

Now check the file list again => files should in all three test cases have the correct name.

Actual result BEFORE applying this Pull Request

Incorrectly cased files present.

Expected result AFTER applying this Pull Request

No incorrectly files after update or database fix or new installation.

Documentation Changes Required

None.

avatar richard67 richard67 - open - 11 Jan 2021
avatar richard67 richard67 - change - 11 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2021
Category Administration com_admin Libraries External Library Composer Change
avatar richard67 richard67 - change - 11 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 11 Jan 2021
avatar richard67 richard67 - change - 11 Jan 2021
Labels Added: ? ?
avatar richard67 richard67 - change - 11 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 11 Jan 2021
avatar richard67
richard67 - comment - 11 Jan 2021
avatar richard67 richard67 - change - 11 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 11 Jan 2021
avatar richard67 richard67 - change - 11 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 11 Jan 2021
avatar jsubri
jsubri - comment - 11 Jan 2021

I have tested this item successfully on 4d0ca0f

I restored a 3.9.23 site that was upgraded over the years. Upload & Update "Joomla_3.9.24-dev+pr.32006-Development-Update_Package.zip" via Joomla Update.
Before: Stringcontroller.php after: StringController.php
Before: Xsalsa20.php after: XSalsa20.php
Before: no si_LK.gif file (the file might have been forgoten in some 3.x upgrade packages), after: si_lk.gif is present

Windows 10, PHP 8.0


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

avatar jsubri jsubri - test_item - 11 Jan 2021 - Tested successfully
avatar PhilETaylor
PhilETaylor - comment - 12 Jan 2021

use "Fix Database"

The "Fix Database" button really needs to be renamed to "Fix everything" and possibly relocated somewhere else, as it now does a lot more than just apply any pending database schema changes which was its original aim.

avatar richard67
richard67 - comment - 12 Jan 2021

The "Fix Database" button really needs to be renamed to "Fix everything" and possibly relocated somewhere else, as it now does a lot more than just apply any pending database schema changes which was its original aim.

Sure, but that's outside the scope of this PR.

avatar brianteeman
brianteeman - comment - 12 Jan 2021

Using the "Fix database" button for this is fundamentally wrong.

Joomla 4 has already changed its name to Database: update structure to try to make it clearer that it only touches database structure changes and not any content changes.

Adding a fix files functionality to this button is a step backwards not forwards.

avatar richard67
richard67 - comment - 12 Jan 2021

Joomla 4 has already changed its name to Database: update structure to try to make it clearer that it only touches database structure changes and not any content changes.

And that was wrong because currently it still does other stuff, too.

Adding a fix files functionality to this button is a step backwards not forwards.

Yes, but it wasn't in the scope of the original PR #30802 either to fix that all.

avatar wilsonge wilsonge - test_item - 24 Jan 2021 - Tested successfully
avatar wilsonge
wilsonge - comment - 24 Jan 2021

I have tested this item successfully on 4d0ca0f

Works on OSX for me PHP 7.3


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

avatar richard67
richard67 - comment - 24 Jan 2021

Would be nice to get a test on Linux, too.

avatar HLeithner
HLeithner - comment - 25 Jan 2021

Tested on Linux works as expected.

avatar gostn
gostn - comment - 25 Jan 2021

RTC?

avatar richard67
richard67 - comment - 25 Jan 2021

@gostn Please stop to tell us maintainers and JBS members what we shall do. We know it by ourselves.

avatar richard67 richard67 - change - 25 Jan 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 25 Jan 2021

RTC


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

avatar gostn
gostn - comment - 25 Jan 2021

Please stop your personal attacks. I was asking (!) for RTC cause sometimes it is forgotton.

avatar richard67
richard67 - comment - 25 Jan 2021

@gostn If you see a personal attack (I don't see some) feel free to contact conflict resolution team and report a CoC violation.

avatar gostn
gostn - comment - 25 Jan 2021

Please stop to tell us maintainers and JBS members what we shall do. We know it by ourselves.

Please stop to tell us volunteers what we shall do. We know it by ourselves.

avatar rdeutz rdeutz - close - 25 Jan 2021
avatar rdeutz rdeutz - merge - 25 Jan 2021
avatar rdeutz rdeutz - change - 25 Jan 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-25 10:11:42
Closed_By rdeutz
Labels Added: ?

Add a Comment

Login with GitHub to post a comment