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

admin_setting_filetypes should validate for unknown filetypes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_310_STABLE

      Description

      Currently the form/filetypes formelement performs filetype validation for unknown file types when entered, and blocks submission. This validation should be shared for the admin_setting_filetype, which currently accepts unknown filetypes, and displays them as File (.xxx)

      An alternative would be a message stating that the file should be added to the system file types through the admin tool.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              peterburnett Peter Burnett
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: