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

calendar doesn't remember course properly in moodle (1.6-1.7)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2
    • Fix Version/s: 1.8.4, 1.9
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      Probably irrelevant, but RHEL4 w/ apache2, php 5.2.0 and a remote MSSQL 2005 database
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      If you go to the detailed view of a calendar from a course, it will include the course id in the url (e.g. calendar/view.php?view=month&course=13&cal_d=1&cal_m=06&cal_y=2007). However, all of the links in the calendar do not have the course parameter so you'll get something like calendar/view.php?view=month&cal_d=1&cal_m=06&cal_y=2007. Oddly enough, it still stores which course you came from because that shows up in the breadcrumb, but it must be in a cookie or something.

      This is bad on a number of accounts.
      1. If the user bookmarks what they think is their calendar in one course, they come back later and it's another course because the cookie got changed.
      2. For admin users who are viewing calendars for courses their not enrolled in, this is a big problem. Only the URLs with the course parameter will display the course's events. So as soon as they try to navigate anywhere in the calendar, they can't see anything anymore.

        Attachments

        1. 0_AFTER_clicking_preferences_then_Calendar_breadcrumb.png
          82 kB
          Wen Hao Chuang
        2. 0_BEFORE_clicking_preferences.png
          73 kB
          Wen Hao Chuang
        3. After_click_on_Export_calendar_button.png
          125 kB
          Wen Hao Chuang
        4. after_create_a_new_course_event.png
          122 kB
          Wen Hao Chuang
        5. Before_click_on_Export_calendar_button.png
          136 kB
          Wen Hao Chuang
        6. calendar_course_id_back_to_3.png
          84 kB
          Wen Hao Chuang
        7. Calendar_Day_View.png
          176 kB
          Brad Hong
        8. Calendar_Editing_event.png
          167 kB
          Brad Hong
        9. calendar_export_breadcrumb_wrong_parameter.png
          115 kB
          Wen Hao Chuang
        10. calendar_not_listing_global_event.png
          112 kB
          Wen Hao Chuang
        11. when_you_create_a_new_event.png
          122 kB
          Wen Hao Chuang

          Issue Links

            Activity

              People

              Assignee:
              chuang Wen Hao Chuang
              Reporter:
              trick Alan Trick
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              17 Vote for this issue
              Watchers:
              23 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/08