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

No error displayed when sending a contact request when it's not allowed

XMLWordPrintable

    • 2
    • Team Hedgehogs 2025 Sprint 2.1

      It happened to me in moodle.org, but it can be reproduced in school demo:

      1. Login in https://school.moodledemo.net/ with "parent" user.
      2. Go to "Barbara Gardner" profile (you can reach it using the "Online users" block for example).
      3. Click the "Add to contacts" button at the top. The button will change and that makes you think it was successful.
      4. Refresh the page. The button is back to "Add to contacts" because the request wasn't sent.
      5. Click "Message".
      6. Open the "3 dots" menu.
      7. Click "Add to contacts".
      8. Click "Add". Nothing happens.

      The WebService returns a warning, not an error, I guess that's why it's not displayed. Maybe the "Add to contacts" option shouldn't be displayed if you cannot add the contact.

        1. MDL-72123.png
          119 kB
          Kim Jared Lucas
        2. 1.png
          360 kB
          Yusuf Wibisono
        3. 3.png
          317 kB
          Yusuf Wibisono
        4. 2.png
          344 kB
          Yusuf Wibisono
        5. 4.png
          239 kB
          Yusuf Wibisono
        6. Screenshot 2025-06-05 at 1.58.49 pm.png
          41 kB
          David Woloszyn
        7. 6.png
          88 kB
          Yusuf Wibisono
        8. 5.png
          262 kB
          Yusuf Wibisono
        9. 7.png
          269 kB
          Yusuf Wibisono
        10. 8.png
          98 kB
          Yusuf Wibisono
        11. MDL-72123_405.jpg
          424 kB
          Mikel Martín Corrales
        12. MDL-72123_500.jpg
          401 kB
          Mikel Martín Corrales
        13. MDL-72123_main.jpg
          411 kB
          Mikel Martín Corrales

            yusuf.wibisono@moodle.com Yusuf Wibisono
            dpalou Dani Palou
            Stevani Andolo Stevani Andolo
            David Woloszyn David Woloszyn
            Mikel Martín Corrales Mikel Martín Corrales
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 6 hours, 53 minutes
                3d 6h 53m

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