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

Forum and discussion pages profile links go to users' full profiles rather than their course profiles

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Create a course and enrol 2 users (user1 & user2) into it.
      3. Create a forum in the course.
      4. Log in as user1 and post something in the forum
      5. Log in as user2 and visit the forum
      6. Check the link from the name of user1 to its profile on the forum page
      7. Verify that the link is to /user/view.php?id=x&course=y where x is the id of user1 and y is the id of the course.
      8. Go into the discussion page.
      9. Check the link from the name of user1 to its profile on the forum page
      10. Verify that the link is to /user/view.php?id=x&course=y where x is the id of user1 and y is the id of the course.
      Show
      Log in as admin Create a course and enrol 2 users (user1 & user2) into it. Create a forum in the course. Log in as user1 and post something in the forum Log in as user2 and visit the forum Check the link from the name of user1 to its profile on the forum page Verify that the link is to /user/view.php?id=x&course=y where x is the id of user1 and y is the id of the course. Go into the discussion page. Check the link from the name of user1 to its profile on the forum page Verify that the link is to /user/view.php?id=x&course=y where x is the id of user1 and y is the id of the course.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-65849-master

      Description

      Steps to reproduce:

      1. Create a forum and post in it.
      2. Check the link from your name to your profile both on the forum page and on the discussion page.

      Expected result: The link goes to your course profile page /user/view.php?id=x&course=y (as in Moodle 3.6)

      Actual result: The link goes to your full profile page /user/profile.php?id=x

      By default only admins and managers can view full profiles.

        Attachments

          Activity

            People

            Assignee:
            rezaie9 Shamim Rezaie
            Reporter:
            tsala Helen Foster
            Peer reviewer:
            Michael Hawkins
            Integrator:
            Andrew Nicols
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 4 minutes
                5h 4m