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

When managing Calendar subscriptions you can submit form without file attached.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.4
    • None
    • Calendar
    • None
    • MOODLE_24_STABLE

    Description

      1. Log in to Moodle as an admin and and go to Navigation > Site pages > Calendar.
      2. Click the button 'Manage subscriptions'.
      3. Try importing a calendar by filling in a name e.g. 'Site calendar', selecting to import from calendar file but do not upload a file in the filepicker, then click the Add button.
      4. See how the event is added regardless of the fact no file was selected.

      The form should check that a valid URL or an actual file was submitted. There is already a check to ensure it is the correct file type, so now it's simply an issue of checking whether it exists.

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              markn Mark Nelson
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: