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

calendar_adminseesall does not really show events in all courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7.8, 2.8.8, 2.9.2, 3.0.2, 3.1.3
    • Fix Version/s: None
    • Component/s: Calendar
    • Testing Instructions:
      Hide
      • admin user activates calendar_adminseesall in website administration
      • adds block calendar i.e. to my moodle site
      • goes to "Detailed month view for:" (via month link in block)
      • compares "all courses" events with course events of single courses (therefore you'd need a moodle installation with various courses I guess)
      Show
      admin user activates calendar_adminseesall in website administration adds block calendar i.e. to my moodle site goes to "Detailed month view for:" (via month link in block) compares "all courses" events with course events of single courses (therefore you'd need a moodle installation with various courses I guess)
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Admin does not see all course events in the calendar as expected when calendar_adminseesall is active

      Apparently this has been there for a while but not really looked into (maybe it cannot be reproduced easily - but discussion is there ... https://moodle.org/mod/forum/discuss.php?d=196177)

      Result: all courses does not mean that admin sees all course events

      Edited: after long discussion we found out that this happens because of the 20 courses limit in function calendar_get_default_courses() - admin does not see events in the courses that are not in first 20.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                7 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated: