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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.2.6, 2.3.3
    • Component/s: Libraries
    • Labels:
      None
    • Testing Instructions:
      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} .
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Nov/12