Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68723

Filemanager File tree view does not list all files.

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_38_STABLE
    • MDL-68723-master
    • Hide

      Test 1 (Tree view in filemanager)

      1. Log in as a Admin
      2. Go to Private files.
      3. In the Files area:
        1. Create a folder named Folder 0.
        2. Click on Folder 0.
        3. In Folder 0, create a folder named Folder 1.
        4. Add 2 files in Folder 0.
        5. Click on Folder 1.
        6. In Folder 1, create a folder named Folder 2.
        7. Add 2 files in Folder 1.
        8. Click on the Folder 2.
        9. Change the filemanager view to tree view.
          • make sure all files (including parent folder files) and folders appear in the tree view.

      Test 2 (MDL-62415 - Search results are still properly displayed in tree view in filepicker)

      1. Login as Admin
      2. Create a new file system repository with many files following the instructions (https://docs.moodle.org/38/en/File_system_repository): 
        1. Find the moodledata folder on the server
        2. In the moodledata folder create a folder named "repository"
        3. In the "repository" folder copy a folder which contains multiple sub-folders and files (e.g. put a copy of the whole moodle source code into moodledata/repository/moodlesrc/)
        4. Logged in as Admin, go to Site administration > Plugins > Repositories > Manage Repositories;
        5. Select from the drop down next to File system "Enabled and visible"
        6. Click on "Settings" for "File system" repository
        7. Click on the "Create a repository instance" button
        8. Add a name for the repository and choose the previously created folder in moodledata/repository (e.g. moodlesrc) from the dropdown list.
        9. Click "Save"
      3. Go to Private files
      4. Click on "Add..." icon to open the filepicker
      5. In the filepicker, click on the created file system repository 
      6. Search for a filename (e.g. "workshop" if using a copy of the moodle source code)
      7. Change the filepicker view mode into "Display folder as file tree"
        • make sure filtered results now show up in tree view under 'Search Results' instead of displaying the whole tree
      Show
      Test 1 (Tree view in filemanager) Log in as a Admin Go to Private files. In the Files area: Create a folder named Folder 0. Click on Folder 0. In Folder 0, create a folder named Folder 1. Add 2 files in Folder 0. Click on Folder 1. In Folder 1, create a folder named Folder 2. Add 2 files in Folder 1. Click on the Folder 2. Change the filemanager view to tree view. make sure all files (including parent folder files) and folders appear in the tree view. Test 2 ( MDL-62415 - Search results are still properly displayed in tree view in filepicker) Login as Admin Create a new file system repository with many files following the instructions ( https://docs.moodle.org/38/en/File_system_repository):   Find the moodledata folder on the server In the moodledata folder create a folder named "repository" In the "repository" folder copy a folder which contains multiple sub-folders and files (e.g. put a copy of the whole moodle source code into moodledata/repository/moodlesrc/) Logged in as Admin, go to Site administration > Plugins > Repositories > Manage Repositories; Select from the drop down next to File system "Enabled and visible" Click on "Settings" for "File system" repository Click on the "Create a repository instance" button Add a name for the repository and choose the previously created folder in moodledata/repository (e.g. moodlesrc) from the dropdown list. Click "Save" Go to Private files Click on "Add..." icon to open the filepicker In the filepicker, click on the created file system repository  Search for a filename (e.g. "workshop" if using a copy of the moodle source code) Change the filepicker view mode into "Display folder as file tree" make sure filtered results now show up in tree view under 'Search Results' instead of displaying the whole tree
    • 7
    • Path to glory

      Treeview in file manager does not always display files.

      Found while testing MDLQA-14363 on qa.moodledemo.net

      1. Log in as a user and go to your Private files area.
      2. create a folder named Folder 0
      3. click on Folder 0
      4. create a folder named Folder 1
      5. drag and drop 2 files next to the folder named Folder 1.
      6. click on Folder 1
      7. create a folder named Folder 2
      8. drag and drop 2 files next to the folder named Folder 2.
      9. click on the Folder 2
      10. change the filemanager view to tree view.

      Expected result: all files and folders appear in the tree view (when expanded)

      Actual result: the files contained within folder 1 do not appear appear, only the folder structure appears

      Note: if you switch back to folder (icon) view and navigate back to Folder 1 and then switch back to the tree view, then files appear.

            Geshoski Mihail Geshoski
            sbourget Stephen Bourget
            Mathew May Mathew May
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 50 minutes
                1d 1h 50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.