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

Events Available for group members only not exported to Outlook

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.4.5
    • None
    • Calendar
    • None
    • Any
    • MOODLE_24_STABLE
    • Hide

      FIX:
      in calendar/export_execute.php
      change
      if (!groups_course_module_visible($cm)) {
      by
      if (!groups_course_module_visible($cm,$userid)) {

      Show
      FIX: in calendar/export_execute.php change if (!groups_course_module_visible($cm)) { by if (!groups_course_module_visible($cm,$userid)) {
    • Moderate
    • Hide

      0. check enablegroupmembersonly in configuration
      1. Create an activity (Assignment for example) and set a Due date (tomorrow for example)
      2. In "Common module settings" click "show advanced"
      3. Select a "grouping" and check "Available for group members only"
      4. Go to calendar as a member of the grouping selected in 3 and click "Export Calendar"
      5. Click "Export".
      -----> The event created in 1 is included in the ics file (expected behaviour)
      6. Click "Get calendar URL" and import the Internet Calendar in, for example, Outlook.
      -----> The event created in 1 is NOT included in the imported calendar. (unexpected behaviour)

      Show
      0. check enablegroupmembersonly in configuration 1. Create an activity (Assignment for example) and set a Due date (tomorrow for example) 2. In "Common module settings" click "show advanced" 3. Select a "grouping" and check "Available for group members only" 4. Go to calendar as a member of the grouping selected in 3 and click "Export Calendar" 5. Click "Export". -----> The event created in 1 is included in the ics file (expected behaviour) 6. Click "Get calendar URL" and import the Internet Calendar in, for example, Outlook. -----> The event created in 1 is NOT included in the imported calendar. (unexpected behaviour)

    Description

      if enablegroupmembersonly is active (SITE ADMINISTRATION / ► DEVELOPMENT / ► EXPERIMENTAL / ► EXPERIMENTAL SETTINGS ► "Enable group members only" is checked) the activities available for "group members only" (Common module settings ► Show advanced ► Select a grouping ► Check "Available for group members only") are not included in the exported calendar with URL (and imported in Outlook, Mozilla Thunderbird/Lightning, or other external clients)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              orived Oscar Rived
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: