? ? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
30 Apr 2021

Summary of Changes

As a result of #33451 and #33454 I noticed ICONV was checked but not INTL - as both are needed for File::makeSafe it makes sense to have both listed in the System Information for ease of reference.

While in this code, took the opportunity to remove deprecated getDBO method calls and add param types and return types.

Screenshot 2021-05-01 at 00 18 43

Testing Instructions

Load System Information in Joomla Admin - if it loads, great. Check PHP tab and see your status of INTL (checks for presence of the function transliterator_transliterate which is the one Joomla uses in File::makeSafe

Try JSON and TXT download.

Actual result BEFORE applying this Pull Request

Works - but intl extension not in the list

Expected result AFTER applying this Pull Request

Still works - but calls one less deprecated function and code is slightly more modern and less warnings in phpStorm.

Documentation Changes Required

None

avatar PhilETaylor PhilETaylor - open - 30 Apr 2021
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2021
Category Administration com_admin Language & Strings
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 30 Apr 2021
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
Labels Added: ? ?
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 30 Apr 2021
avatar brianteeman brianteeman - test_item - 1 May 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 1 May 2021

I have tested this item successfully on 68d52d8


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

avatar richard67
richard67 - comment - 1 May 2021

If this PR will be merged, the same check should also be added to the Joomla Update Component's Pre-Update Checks. This will have to be done in the 3.10-dev branch so it can be checked before updating from 3.10 to 4. I could do that if necessary.

@PhilETaylor Do I understand right that the INTL extension is only needed in J4, not in J3? Or is that wrong and it should also be checked in J3? If my understanding is right, then the future PR for the pre-update check should show the check for INTL only if the version to be updated to is J4, like we have it already with the database compatibility check for MS SQL Server.

Update: I just see the INTL is only needed for transliteration, so it makes sense to add it to the system info with this PR here, but it is not a required setting to be checked by the Pre-Update Check. What could make sense is to add it to the recommended settings in the Pre-Update Checker.

avatar richard67 richard67 - test_item - 1 May 2021 - Tested successfully
avatar richard67
richard67 - comment - 1 May 2021

I have tested this item successfully on 68d52d8


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

avatar richard67 richard67 - change - 1 May 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 1 May 2021

RTC


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

avatar richard67
richard67 - comment - 1 May 2021

Drone failure is not related to this PR just by the way.

avatar richard67
richard67 - comment - 1 May 2021

Restarted drone. All fine now.

avatar Quy Quy - close - 1 May 2021
avatar Quy Quy - merge - 1 May 2021
avatar Quy Quy - change - 1 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-01 18:41:44
Closed_By Quy
Labels Added: ?
avatar Quy
Quy - comment - 1 May 2021

Thank you!

Add a Comment

Login with GitHub to post a comment