Issue Details (XML | Word | Printable)

Key: CONTRIB-1609
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Valery Fremaux
Reporter: Henning Bostelmann
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.
Non-core contributed modules

Cancellation of appointment: Notification e-mail sent to incorrect address

Created: 07/Nov/09 02:07 AM   Updated: 07/Nov/09 02:35 AM
Return to search
Component/s: Module: Scheduler
Affects Version/s: 1.9.5
Fix Version/s: 1.9.7, 2.0

File Attachments: 1. File bad-recipient.diff (1 kB)

Environment: Ubuntu Server 8.04 LTS

Database: Any
Participants: Henning Bostelmann and Valery Fremaux
Security Level: None
Resolved date: 07/Nov/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
When the teacher cancels an appointment with a student, an e-mail is sent to the student.

This e-mail is sent to an incorrect e-mail address - i.e., it does not go to the student(s) associated with the slot, but to an entirely different student.

The reason is an incorrect use of the database fields "id" vs. "studentid" in the "mdl_scheduler_appointment" table, used in teacherview.controller.php. I attach a diff.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.