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

Show which users have not received messages in bulk messaging

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Go to user/messageselect.php
      • Select some users
      • Send a message to they in a way that some fail (read instructions footer*).
      • See that with patch applied you got a message telling how many fails ocurred and a list of the users for which the message was not sent

      instructions footer*: The easiest way to check this is working is to edit user/messageselect.php, line #159 and change:

      if (!message_post_message($USER, $user, $messagebody, $format)) {
      

      by

      if (message_post_message($USER, $user, $messagebody, $format)) {
      

      That way all the correctly sent messages (would be great if you can verify they are really sent ok) will be detected as failures so you should get the message about the failure with the list of failed messages (all, because you hacked the code to fail all). I've added a screenshot of the expected message.

      Show
      Go to user/messageselect.php Select some users Send a message to they in a way that some fail (read instructions footer*). See that with patch applied you got a message telling how many fails ocurred and a list of the users for which the message was not sent instructions footer*: The easiest way to check this is working is to edit user/messageselect.php, line #159 and change: if (!message_post_message($USER, $user, $messagebody, $format)) { by if (message_post_message($USER, $user, $messagebody, $format)) { That way all the correctly sent messages (would be great if you can verify they are really sent ok) will be detected as failures so you should get the message about the failure with the list of failed messages (all, because you hacked the code to fail all). I've added a screenshot of the expected message.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:

      Description

      Show which users have not received messages in bulk messaging

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15