Issue Details (XML | Word | Printable)

Key: MDL-10839
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Jon Papaioannou
Reporter: Steve Bond
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Calendar unexpectedly shows events from other courses when switching months in editing view

Created: 13/Aug/07 11:40 PM   Updated: 18/Nov/07 04:10 AM
Return to search
Component/s: Calendar
Affects Version/s: 1.8.2
Fix Version/s: None

Environment: Any
Issue Links:
Duplicate
 

Database: Any
Participants: Jon Papaioannou, Ken Bauer, Nicolas Martignoni and Steve Bond
Security Level: None
QA Assignee: Nicolas Martignoni
Resolved date: 21/Sep/07
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
Using Moodle 1.8.2+ (2007021520)
When editing a course calendar, the 'event view mode' changes unexpectedly when switching months.

To reproduce the behaviour, log on as a user who is a teacher in more than one course, where each courses contains course events in the current month (e.g. August). Enter one of the courses, and click on the month title in the calendar to enter Calendar editing mode. So far you should see only the courses for the current course. Now edit the following month (e.g. September). This causes the view mode to change to "All courses" automatically, so events from other courses suddenly appear in the calendars.

The problem is caused by a missing HTTP parameter in the URL of the link to other months. e.g.

http://server/moodle/calendar/view.php?view=month&cal_d=1&cal_m=9&cal_y=2007

should be

http://server/moodle/calendar/view.php?view=month&course=4&cal_d=1&cal_m=9&cal_y=2007

to specify the current course.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Ken Bauer made changes - 15/Aug/07 02:43 AM
Field Original Value New Value
Link This issue duplicates MDL-10353 [ MDL-10353 ]
Nicolas Martignoni made changes - 21/Sep/07 08:18 PM
Status Open [ 1 ] Resolved [ 5 ]
QA Assignee mina
Resolution Duplicate [ 3 ]
Nicolas Martignoni made changes - 18/Nov/07 04:10 AM
Status Resolved [ 5 ] Closed [ 6 ]