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

"requireloginerror" when opening messaging on self-enrolment page

XMLWordPrintable

      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
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            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, 43 minutes
                1h 43m

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