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

Drag/dropping a file should honour all defaults for resources

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Resource
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to admin settings for "File" module (showsize and showtype) and turn them on.
      2. Go to a course, turn editing on
      3. Drag and drop a file into the course
      4. Turn editing off and verify that that file size and type are displayed on the course page beside the link.
      5. Go back to step 1 and turn the defaults off, then verify that new files added do NOT have these displayed.

      Finally none of the new files should have anything for the description on the actual File page (although you will see file size and file type under the description).

      Show
      Go to admin settings for "File" module (showsize and showtype) and turn them on. Go to a course, turn editing on Drag and drop a file into the course Turn editing off and verify that that file size and type are displayed on the course page beside the link. Go back to step 1 and turn the defaults off, then verify that new files added do NOT have these displayed. Finally none of the new files should have anything for the description on the actual File page (although you will see file size and file type under the description).
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33404_resource_dnd_defaults

      Description

      Some things I would like to see fixed for new mod/resource files created by drag/drop:

      1) Don't set the description to the file name, it looks scrappy and useless. It's better off blank by default.
      2) Make sure the new resource honours the current system default resource settings for showsize and showtype

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12