Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36626 Meta: Ical Bug fixes and improvments
  3. MDL-36400

Calendar import should not accept invalid files

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Goto calendar>manager subscription
      2. Fill the form, choose ics file option from the drop down
      3. Try to drag and drop a file to the file picker area which is not .ics, make sure you get an error
      4. Try with a correct .ics file and make sure its saved and imported as expected
        A sample ics file :- http://tracker.moodle.org/secure/attachment/30056/AustraliaHolidays.ics
      Show
      Goto calendar>manager subscription Fill the form, choose ics file option from the drop down Try to drag and drop a file to the file picker area which is not .ics, make sure you get an error Try with a correct .ics file and make sure its saved and imported as expected A sample ics file :- http://tracker.moodle.org/secure/attachment/30056/AustraliaHolidays.ics
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-36400-master

      Description

      If a non .ics file is selected as a calendar for import, it is accepted and the calendar listed under subscriptions.

      Non .ics files should not be accepted. A message should be displayed informing users of the invalid file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Sam Hemelryk
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12