Information Required ?
avatar brianteeman
brianteeman
25 Apr 2021

I was trying to test #29499 about how the error message handling could be improved when trying to create a duplicate folder.

It appears that its not possible to create a folder now at all [UPDATEwell it is but not that you would know as it requires a pge refresh]

The console errors are

When trying to create a valid new folder

media-manager.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1 Uncaught TypeError: Joomla.renderMessages is not a function
    at Notifications.notify (media-manager.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1)
    at Notifications.success (media-manager.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1)
    at onSuccess (media-manager.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1)
    at XMLHttpRequest.o.onreadystatechange (core.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1)

When trying to create a duplicate folder

As above plus
core.min.js?1a2f5e54e529a8a6967abe611c76c5f5:1 POST http://localhost/joomla-cms/administrator/index.php?option=com_media&format=json&task=api.files&path=local-0:/ 409 (Conflict)

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

I can create folders at the moment with the latest 4.0-dev checkout

But like you I cannot create a duplicate (not that it should be possible, but the error message should be better visible)

Screenshot 2021-04-25 at 17 04 45

avatar PhilETaylor
PhilETaylor - comment - 25 Apr 2021

Also there is a console.log("error.... in media-manager.min.js that needs removing as Joomla should never be logging to the console, paging @dgrammatiko

avatar PhilETaylor
PhilETaylor - comment - 25 Apr 2021

Ive updated #29499 with todays testing for you @brianteeman

avatar PhilETaylor
PhilETaylor - comment - 29 Apr 2021

This should be closed. It is possible to create folders.

Its not possible to create folders with names that already exist, and that is already recorded accurately in #29499 from June 2020

avatar Quy Quy - change - 9 Jun 2021
Labels Added: Information Required
avatar Quy Quy - labeled - 9 Jun 2021
avatar brianteeman brianteeman - change - 28 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-28 14:32:32
Closed_By brianteeman
avatar brianteeman brianteeman - close - 28 Jun 2021

Add a Comment

Login with GitHub to post a comment