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

Can add an event to a calendar w/o providing URL or file.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.5
    • Fix Version/s: 2.4.2
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an administrator.
      2. Click on the date on the Calendar block.
      3. Click on 'Manage Subscriptions'.
      4. Fill in a name for the Calendar
      5. Select "Import from" = "Calendar URL" and leave Calendar url blank.
      6. You should see "Invalid url" error and no new subscription entry should be added.
      7. Enter invalid url and you should see error click continue and you should go back to manage subscription page.
      8. Enter valid calendar url (https://www.google.com/calendar/ical/en.australian%23holiday%40group.v.calendar.google.com/public/basic.ics) and you should see new subscription entry.
      9. Now try again with "Import from" = "Calendar FILE"
      10. Don't attach file and you should see "Either a URL or a file is required to import a calendar." error and no new subscription should be added.
      11. Attach a file and you should see new subscription.
      Show
      Log in as an administrator. Click on the date on the Calendar block. Click on 'Manage Subscriptions'. Fill in a name for the Calendar Select "Import from" = "Calendar URL" and leave Calendar url blank. You should see "Invalid url" error and no new subscription entry should be added. Enter invalid url and you should see error click continue and you should go back to manage subscription page. Enter valid calendar url ( https://www.google.com/calendar/ical/en.australian%23holiday%40group.v.calendar.google.com/public/basic.ics ) and you should see new subscription entry. Now try again with "Import from" = "Calendar FILE" Don't attach file and you should see "Either a URL or a file is required to import a calendar." error and no new subscription should be added. Attach a file and you should see new subscription.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-mdl-37432

      Description

      1. Log in as an administrator.
      2. Click on the date on the Calendar block.
      3. Click on 'Manage Subscriptions'.
      4. Fill in a name for the Calendar w/o a URL or file being supplied.
      5. Click add to see the message 'File subscription not updated'.
      6. Once redirected you will see it listed.
      7. Blame Ankit Mark.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13