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

Teacher sees error due to Show Activity Reports set to yes.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.5.1, FRONTEND
    • 2.5
    • Course
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-39979-master
    • Hide
      1. Enable 'Show activity reports' (showreports) in a course
      2. Login as a teacher and navigate to the course
      3. Visit one of the students' course profile
      4. Make sure you don't see any notice for missing variable $forceforcontext
      5. Make sure you don't see the node Administration > Profile settings for ... > Activity reports > Grade
      6. Login as the student, and visit your own course profile
      7. Make sure you can see the node Administration > My profile settings > Activity reports > Grade
      Show
      Enable 'Show activity reports' (showreports) in a course Login as a teacher and navigate to the course Visit one of the students' course profile Make sure you don't see any notice for missing variable $forceforcontext Make sure you don't see the node Administration > Profile settings for ... > Activity reports > Grade Login as the student, and visit your own course profile Make sure you can see the node Administration > My profile settings > Activity reports > Grade

      Restoring courses from a 2.4.3 site to a 2.5 site and viewing as a Teacher gives this error:

      Notice: Undefined variable: forceforcontext in /var/www/moodle/lib/navigationlib.php on line 4082

      https://tracker.moodle.org/browse/MDL-39917?focusedCommentId=225981&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-225981

            fred Frédéric Massart
            jonfila Jon Fila
            Andrew Davis Andrew Davis
            Sam Hemelryk Sam Hemelryk
            Damyon Wiese Damyon Wiese
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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