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

Calendar export fixed limit 60 days should be configurable

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.5
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. upgrade moodle site
      2. goto a calendar as admin and create events as below
        1. Site event 200 days ago
        2. site event 200 days in future
        3. site event 400 days ago
        4. site event 400 days in future
        5. course event 200 days ago
        6. course event 200 days in future
        7. course event 400 days ago
        8. course event 400 days in future
      3. Goto calendar settings as admin and set the following
        1. enablecalendarexport true
        2. calendar_customexport true
        3. calendar_exportlookahead 365 days
        4. calendar_exportlookback 365 days
      4. Export calendar selecting all events and custom date range, both as url and file
      5. Make sure in each case event 2.1, 2.2, 2.5, 2.6 are included
      6. Export calendar selecting course events and custom date range, both as url and file
      7. Make sure in each case event 2.5,2.6 are included
      Show
      upgrade moodle site goto a calendar as admin and create events as below Site event 200 days ago site event 200 days in future site event 400 days ago site event 400 days in future course event 200 days ago course event 200 days in future course event 400 days ago course event 400 days in future Goto calendar settings as admin and set the following enablecalendarexport true calendar_customexport true calendar_exportlookahead 365 days calendar_exportlookback 365 days Export calendar selecting all events and custom date range, both as url and file Make sure in each case event 2.1, 2.2, 2.5, 2.6 are included Export calendar selecting course events and custom date range, both as url and file Make sure in each case event 2.5,2.6 are included
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-32341-master

      Description

      The calendar export only includes the next 60 days. This date is fixed. Students wants to download all dates for the whole semester. It makes a lot of sense to make the number of days configurable by admin or user in calendar settings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ralfh Ralf Hilgenstock
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Dan Poltawski
              Tester:
              Michael de Raadt
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13