?
avatar Kostelano
Kostelano
30 Apr 2021

Steps to reproduce the issue

Go to Media Manager and try to create a directory with Russian letters, for example, "ыыыыыыыы". You will receive a message that the directory has been successfully created, however no directory has actually been created :).

Screenshot_2

avatar Kostelano Kostelano - open - 30 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Apr 2021
avatar brianteeman
brianteeman - comment - 30 Apr 2021

issue confirmed

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

This is not a com_media issue.

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

opps hit enter too soon.

The problem is with the CMS Filesystem Library.

ыыыыыыыы is passed to File::makeSafe

But that returns an empty string.

This in turn in com_media is resolved to /path/to/images which it then silently tries to great, but obviously its already there.

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

Here is the isolated code: https://3v4l.org/Aj8Ef

As you can see it works fine there, so the question is - for you have the iconv PHP Extension installed?

avatar brianteeman
brianteeman - comment - 30 Apr 2021

yes
image

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

and for transliterator_transliterate how about the Intl Extension ?

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

So that's the problem then, Your platform doesn't have ICONV and INTL PHP extension as needed by File::makeSafe in order to transliterate the text to a safe useable folder name of yyyyyyyyy

avatar PhilETaylor
PhilETaylor - comment - 30 Apr 2021

PR #33451 to provide better messaging

avatar brianteeman
brianteeman - comment - 30 Apr 2021

confirming that enabling both extensions does result in a folder being created

avatar Kostelano Kostelano - close - 30 Apr 2021
avatar Kostelano
Kostelano - comment - 30 Apr 2021

PR #33451

avatar Kostelano Kostelano - change - 30 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-30 21:47:55
Closed_By Kostelano

Add a Comment

Login with GitHub to post a comment