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

It is possible to send duplicate messages using the message dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.9
    • 2.9
    • Messages
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-49802-master
    • 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.

    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

              fred Frédéric Massart
              fred Frédéric Massart
              Dan Poltawski Dan Poltawski
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.