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

Messaging: Error when sending a contact request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      Steps to reproduce

      1. Log in as admin
      2. Go to Administration > Advanced features
      3. Set "Allow site-wide messaging" to no (uncheck it)
      4. Browse a list of users, start messaging with some
      5. Click the three-dots icon in upper right corner of the messaging UI, and then Info
      6. Click the blue button "Add to contacts" and confirm it

      Expected behaviour: Contact request sent

      Actual behaviour: Error appears: "You are unable to create a contact request for this user"
      File: .../lib/requirejs.php/1545043080/core/first.js
      Line: 123

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: