No Code Attached Yet
avatar uthorat
uthorat
7 Nov 2020

Steps to reproduce the issue

  1. Login to admin panel
  2. Go to media
  3. Create new folder or open the folder which dont have media files
  4. Observe

Expected result

Instead of white screen, provide the text message or any help text

Actual result

Only white screen displays and checkbox is selected

screen shot 2020-11-07 at 09 44 43

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar uthorat uthorat - open - 7 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Nov 2020
avatar uthorat
uthorat - comment - 7 Nov 2020

One more issue tagging here only, if user searches the string and result found, Message is missing
screen shot 2020-11-07 at 10 26 32


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

avatar infograf768 infograf768 - change - 7 Nov 2020
Title
Media - For blank folder,provide the text message "No media files added"
[4.0] Media - For blank folder,provide the text message "No media files added"
avatar infograf768 infograf768 - edited - 7 Nov 2020
avatar meinhoonharsh
meinhoonharsh - comment - 31 Mar 2021

I want to work on this Issue

avatar sandramay0905
sandramay0905 - comment - 31 Mar 2021

@meinhoonharsh you can work on an issue as there is nobody who can allow or disallow.

avatar sandramay0905
sandramay0905 - comment - 8 Apr 2021

@meinhoonharsh

I want to work on this Issue

please read #31540 (comment)

avatar fancyFranci fancyFranci - change - 5 Dec 2022
Labels Added: No Code Attached Yet good first issue
Removed: ?
avatar fancyFranci fancyFranci - labeled - 5 Dec 2022
avatar rajputanuj31
rajputanuj31 - comment - 27 Dec 2022

@fancyFranci @uthorat I have made changes in joomla-cms\media\com_media\js\media-manager.js in script$p

      var temp = document.getElementsByClassName("media-browser-grid");
      var msg="No Media Files";
      if (this.$store.getters.getSelectedDirectoryContents.length === 0) {
        if(temp[0].innerText.length===0){
          const hed=document.createElement("h3");
          hed.innerHTML=msg;
          temp[0].appendChild(hed);
        }
          this.$refs.mediaToolbarSelectAll.checked = false;
      }
      else {
        if(document.getElementsByTagName("h3")[0].innerText===msg){
          document.getElementsByTagName("h3")[0].remove();
        }
      }

But I could not find media folder in original repository. How can I tackle this issue.

avatar R4d104ct1v1ty
R4d104ct1v1ty - comment - 5 Jan 2023

is this issue still open?

avatar brianteeman
brianteeman - comment - 5 Jan 2023

image

avatar aayuushh365
aayuushh365 - comment - 7 Jan 2023

Hey there @brianteeman , I have been going through this issues and I think I can solve the issue as per mentioned condition. Could you please assign this to me ?🚀🚀

Or should I create an MR for this directly ?😀🚀🚀

avatar carlitorweb
carlitorweb - comment - 7 Jan 2023

@aayuushh365 just create the PR, and mention in the PR template is a fix for this issue. You will see there the section when you create the PR

avatar chmst chmst - change - 12 Jan 2023
Labels Removed: good first issue
avatar chmst chmst - unlabeled - 12 Jan 2023
avatar richard67 richard67 - close - 22 Jan 2023
avatar richard67
richard67 - comment - 22 Jan 2023

Closing as having a pull request. Please test #39518 . Thanks in advance.

avatar richard67 richard67 - change - 22 Jan 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-01-22 13:24:37
Closed_By richard67

Add a Comment

Login with GitHub to post a comment