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

File resource broken when uploading multiple files (why makes no sense but...)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Resource
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      For some reason that makes no sense (to me) you can upload multiple files into the File resource. However only one can be displayed. This is going to be really confusing to most users.

      Worse - the behaviour of the resource is different if you (e.g. I uploaded 2 text files)...
      1. Select the resource from the course page (the contents of the first file is simply displayed)
      2. Edit the resource and hit "save and display". A page is displayed with a link to (supposedly) the first resource but clicking seems to display some random resource from the course.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                howardsmiller Howard Miller
                Tester:
                Nobody
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: