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

Sending bulk messages duplicate id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.6
    • Messages
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-64167-master-2
    • Hide

      Bulk user actions message

      1. Install a fresh Moodle site
      2. Create a few users
      3. Log in as admin
      4. Go to Site admin > Users > Accounts > Bulk user actions
      5. Select the 'admin user' and 1 other user from the options in the left list and click 'Add to selection' (you should see the list on the right hand side fill up now).
      6. Under the 'With selected users' select box, select 'Send a message' and click 'go'
      7. Enter the text 'Bananas!' and click 'Save changes'
      8. Confirm using the dialog.
      9. Open the messaging pane
      10. Expand the 'messages' section
      11. Verify you have a 1 message for the other user you selected on the site, with the text 'Bananas!'
      12. Verify you don't see a message from yourself
      13. Check the count next to the 'messages' and Verify it accurately represents the number of conversations there. If you're on a fresh install, this should be 1 - with the 'other' user you selected in step 5
      Show
      Bulk user actions message Install a fresh Moodle site Create a few users Log in as admin Go to Site admin > Users > Accounts > Bulk user actions Select the 'admin user' and 1 other user from the options in the left list and click 'Add to selection' (you should see the list on the right hand side fill up now). Under the 'With selected users' select box, select 'Send a message' and click 'go' Enter the text 'Bananas!' and click 'Save changes' Confirm using the dialog. Open the messaging pane Expand the 'messages' section Verify you have a 1 message for the other user you selected on the site, with the text 'Bananas!' Verify you don't see a message from yourself Check the count next to the 'messages' and Verify it accurately represents the number of conversations there. If you're on a fresh install, this should be 1 - with the 'other' user you selected in step 5

      Sending bulk messages throws DB error

      To replicate:

      1. Create a new instance
      2. Login as admin
      3. Upload users from attached csv
      4. Navigate to Site Admin -> Users -> Bulk user actions
      5. Select all users
      6. In "With selected users.." choose "Send a message"
      7. Send some random message
      8. Open the message drawer and notice the message count is there but no messages.

        1. MDL-64167.PNG
          10 kB
          Anna Carissa Sadia
        2. Screen Shot 2018-11-21 at 16.00.02.png
          119 kB
          Bas Brands
        3. userlist.csv
          2 kB
          Bas Brands

            jaked Jake Dallimore
            basbrands Bas Brands
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 20 minutes
                1h 20m

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