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

Student cannot set messaging preferences for assignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      1. Log in as a student
      2. Navigate to Settings > My profile settings > Messages
      3. Make sure you can change the settings for 'Assignment student notifications'
    • Workaround:
      Hide

      mod/assign/db/messaging.php, lines 27-30

          // Ordinary assignment submissions
          'assign_student_notification' => array (
              // 'capability' => 'mod/assign:submit'
          ),

      Show
      mod/assign/db/messaging.php, lines 27-30 // Ordinary assignment submissions 'assign_student_notification' => array ( // 'capability' => 'mod/assign:submit' ),
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33598-master-integration

      Description

      It is not possible for a student to change their messaging preferences for the new assignment module.

      This is because there is a capability associated with the messaging provider assign_student_notification, which applies at the module level but not at the site level, where messaging settings are set.

      The quick fix is to remove this capability from the provider. This is not ideal, but it is what happens in the 2.2 assignment, forum and lesson. I am also going to create another issue to review the implications of messaging settings at different context levels.

      Replication steps:

      1. Log in as a student
      2. Navigate to Settings > My profile settings > Messages

      Expected result: You should be able to control the provider labelled "Assignment student notifications".

      Actual result: There is no provider listed as "Assignment student notifications"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              salvetore Michael de Raadt
              Peer reviewer:
              Michael de Raadt Michael de Raadt
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Dan Poltawski Dan Poltawski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Jun/12