-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2
-
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
Moodle App 3.9.3
Sending messages via the moodle mobile app causes repeated / duplicate messages to be sent if the sender's internet connection drops during sending.
Tested on Moodle 3.8 + Moodle Mobile 3.8.2 (Android).
The testing instructions below require you to simulate an intermittent mobile internet connection.
Assumptions
1, You have a working Moodle site with the mobile app enabled as per moodle docs.
2, You have the mobile app installed on your phone and connected to your moodle site.
3, Messaging is enabled on the site and you have sufficient capabilities to send messages to users.
This is easier to test / replicate using messaging groups, but also affects one to one messaging. See https://docs.moodle.org/38/en/Groups for setting up group messaging.
Instructions
1, Send a message to either a user or a group message via the app.
2, Quickly, and while the sending 'clock icon' is showing, turn off your mobile internet connection for a while.
3, Turn your mobile internet back on for 5s then off again. (This is the tricky bit experiment with the timings, try to catch it after your internet has reconnected, but before the 'clock icon' has disappeared.)
4, Repeat step 3 a few times.