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

"requireloginerror" when opening messaging on self-enrolment page

      Steps to reproduce:

      1. Create a course.
      2. Add self enrolment method.
      3. Login with a user that is not enrolled to the course and that has at least one message.
      4. Visit the course page: Self enrolment should show up.
      5. Click on the messaging symbol and open personal messages: You will see "requireloginerror" message.

      Expected behavior: Messaging should open up and let you see your messages.

      See the attached screenshot from school.moodledemo.net

       

      The problem arises from the fact that the course context is used, but the user is not enrolled to the course.

            stefan.hanauska Stefan Hanauska
            stefan.hanauska Stefan Hanauska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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