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

It is possible to send duplicate messages using the message dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to someone's profile
      2. Click "Send a message"
      3. Type some text and click "Send"
      4. When then "Message sent" message appears, click the button "Send" again
      5. Reopen the dialog, and go to the conversation history. Confirm that the message was only sent once.
      Show
      Go to someone's profile Click "Send a message" Type some text and click "Send" When then "Message sent" message appears, click the button "Send" again Reopen the dialog, and go to the conversation history. Confirm that the message was only sent once.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49802-master

      Description

      1. Go to someone's profile
      2. Click "Send a message"
      3. Type some text and click "Send"
      4. When then "Message sent" message appears, click "Send again"

      *Expected

      • Nothing happens

      Actual

      • The message is sent again

      This is not a very big issue, but some users have the tendency to double click submit buttons. We should at least prevent the message from being sent again when it was successfully sent. There was a reason why the submit button was not disabled (accessibility) and why the dialog closes automatically.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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