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

Folders dont get listed in course resources

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin
      2. Create a new course
      3. Turn editing on
      4. Add the Activities block to the course
      5. Press Add an activity or resource and choose Folder
      6. Set Name: My inline folder
      7. Upload any file to the Files element
      8. Set Display folder content: Inline on a course page
      9. Press Save and return to course
      10. Confirm that Resources is listed inside the Activities block
      11. Click the Resources link in the Activities block
      12. Confirm that My inline folder is listed as a course resource
      13. Navigate back to the course
      14. From the Actions menu select More...
      15. Click the Reports tab
      16. Click Logs
      17. Confirm that My inline folder is listed in the Activities dropdown menu
      Show
      Login as admin Create a new course Turn editing on Add the Activities block to the course Press Add an activity or resource and choose Folder Set Name: My inline folder Upload any file to the Files element Set Display folder content: Inline on a course page Press Save and return to course Confirm that Resources is listed inside the Activities block Click the Resources link in the Activities block Confirm that My inline folder is listed as a course resource Navigate back to the course From the Actions menu select More... Click the Reports tab Click Logs Confirm that My inline folder is listed in the Activities dropdown menu
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:

      Description

      Folders dont get listed in course resources, if display option 'inline on a course page' is selected.

       

      To replicate this issue you have to take the following steps:

      1. Go into a existing course
      2. Add a new activity
      3. Choose 'folder' from the list that is shown
      4. Edit the Settings of the newly added folder. It should have the display setting 'inline on a course page' enabled
      5. now go back to the course view
      6. Navigate to the 'Activities' block and click on the link 'resouces'
      7. Now you should see that the added folder is missing from the list.

       

      If you change the display settings of said folder to be 'on a seperate page' the folder is shown in the activities list.

       

       

       

       

        Attachments

          Activity

            People

            Assignee:
            pholden Paul Holden
            Reporter:
            markusoffermann Markus Offermann
            Peer reviewer:
            Bas Brands
            Integrator:
            Sara Arjona (@sarjona)
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 11 minutes
                2h 11m