Language Change ? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
30 Apr 2021

Pull Request for Issue #33449 .

Summary of Changes

If you are on a server where ICONV AND INTL extensions are NOT installed and you try to create a folder in com_media with name ыыыыыыыы then it will fail, but tell you that it created the folder.

This PR handles that, and tells you the real reason.

Testing Instructions

On a server where ICONV AND INTL extensions are NOT installed and you try to create a folder in com_media with name ыыыыыыыы then it will fail, but tell you that it created the folder.

Apply PR

On a server where ICONV AND INTL extensions are NOT installed and you try to create a folder in com_media with name ыыыыыыыы then it will fail, but tell you that it failed to create the folder.

Actual result BEFORE applying this Pull Request

Screenshot 2021-04-30 at 22 22 46

Expected result AFTER applying this Pull Request

Screenshot 2021-04-30 at 22 22 26

Documentation Changes Required

none.

Isolated code test proving this issue available here https://3v4l.org/BRcNa

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 Language & Strings Front End Plugins
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
Title
Feedback INTL and ICONV PHP Extensions not installed
[4] Feedback INTL and ICONV PHP Extensions not installed
avatar PhilETaylor PhilETaylor - edited - 30 Apr 2021
avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 30 Apr 2021
avatar Kostelano Kostelano - test_item - 30 Apr 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 30 Apr 2021

I have tested this item successfully on 1fd487c


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

avatar Kostelano
Kostelano - comment - 30 Apr 2021

Do we need the same language constant in the frontend?

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

probably. Im only doing half jobs tonight :)

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

Frontend seems to use the backend lang constants.

Screenshot 2021-04-30 at 23 06 05

avatar PhilETaylor PhilETaylor - change - 30 Apr 2021
Title
[4] Feedback INTL and ICONV PHP Extensions not installed
[4] Folder creation - Feedback INTL and ICONV PHP Extensions not installed
avatar PhilETaylor PhilETaylor - edited - 30 Apr 2021
avatar PhilETaylor PhilETaylor - change - 1 May 2021
Labels Added: ? ?
avatar richard67 richard67 - alter_testresult - 8 May 2021 - Kostelano: Tested successfully
avatar richard67
richard67 - comment - 8 May 2021

I've restored @Kostelano 's test result in the issue tracker so it's properly counted again, since the commit which invalidated the count was just a change in the language string for better English.

avatar richard67
richard67 - comment - 21 May 2021

@PhilETaylor There is already a language string with (almost) the same text as the one added by you in this PR here. It has added by you with your PR #33454 here:
https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/language/en-GB/com_media.ini#L72

Beside that it has been added ad the wrong place regarding alphabetical order, we should use one common string for the same message from the other PR and this one here.

I leave it up to you which one you use, but I'd prefer to use the one added by this PR here, remove the other one and change to the new sting at the following 2 places:
https://github.com/PhilETaylor/joomla-cms/blob/4.0-dev/plugins/filesystem/local/src/Adapter/LocalAdapter.php#L552

https://github.com/PhilETaylor/joomla-cms/blob/4.0-dev/plugins/filesystem/local/src/Adapter/LocalAdapter.php#L783

avatar richard67
richard67 - comment - 21 May 2021

Another problem I have: Since PR #33454 has been merged, I can't reproduce issue #33449 anymore. When attempting to create a new folder with only cyrillic characters and intl not available, I get the new message introduced with PR #33454 , even if that PR says it was for copying only:

2021-05-21_1

But from code review I'd say this PR here is ok for me if the issue with the language strings I've mentioned above is solved.

avatar chmst chmst - change - 31 Jan 2022
Labels Added: Language Change ? ?
Removed: ? ?
avatar PhilETaylor PhilETaylor - change - 6 Mar 2022
Labels Added: ?
Removed: ?
avatar PhilETaylor PhilETaylor - change - 6 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-06 21:17:06
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 6 Mar 2022

Add a Comment

Login with GitHub to post a comment