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

Show which users have not received messages in bulk messaging

    XMLWordPrintable

Details

    • MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • 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.

    Description

      Show which users have not received messages in bulk messaging

      Attachments

        Issue Links

          Activity

            People

              danielneis Daniel Neis Araujo
              danielneis Daniel Neis Araujo
              Andrew Lyons Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Damyon Wiese Damyon Wiese
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15