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

Empty field of type "File" shown with icon

    XMLWordPrintable

    Details

    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When a field of type "File" (to upload a file) has not been used (no file has been uploaded), it displays with the "unknown.gif" icon in single and list view. This is confusing since users may think a file can be downloaded somehow but will fail to do so.

      If there is no file to download, the field should simply be completely empty, like other empty fields, but not display the question mark icon.

        Attachments

        1. date_field.patch
          3 kB
        2. Empty_File_field_shown.png
          Empty_File_field_shown.png
          5 kB
        3. MDL-14320.patch
          1 kB
        4. new_entry.png
          new_entry.png
          18 kB
        5. Unknown-icon_in_Add-Tab.png
          Unknown-icon_in_Add-Tab.png
          4 kB

          Activity

            People

            Assignee:
            dongsheng Dongsheng Cai
            Reporter:
            roal Robert Allerstorfer
            Tester:
            Petr Skoda
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/08