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

All tables output using tablelib.php use the wrong user profile link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.2.6, 2.3.3
    • 2.3.2
    • Libraries
    • None
    • MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. As a teacher, go to a report in a course that is generated using tablelib.php. For example a quiz report for a quiz that some students have attempted.

      2. Verify that the user name links to user/view.php including the coursed, and that you can see the user's course-specific profile there.

      3. Now go to a site-wide report that is generated using tablelib.php, e.g. /user/index.php?id=1

      4. Verify that the profile links go to the user's public profile user/profile.php?id=

      {userid}

      .

      Show
      1. As a teacher, go to a report in a course that is generated using tablelib.php. For example a quiz report for a quiz that some students have attempted. 2. Verify that the user name links to user/view.php including the coursed, and that you can see the user's course-specific profile there. 3. Now go to a site-wide report that is generated using tablelib.php, e.g. /user/index.php?id=1 4. Verify that the profile links go to the user's public profile user/profile.php?id= {userid} .

    Description

      The User link on the quiz report (mod/quiz/report.php) appears to link to /user/profile.php. This seems to be odd as with other user profile links within a class point at /user/view.php which can be viewed by the same user

      Both instances include the course as a parameter so I'm just wondering why this was the case?

      Bug linked to this discussion post - https://moodle.org/mod/forum/discuss.php?d=213845#p932459

      Thanks

      Andrea

      Attachments

        Activity

          People

            timhunt Tim Hunt
            agordon Andrea Gregory (Gordon)
            Sam Hemelryk Sam Hemelryk
            Adrian Greeve Adrian Greeve
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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