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

Some pages are using the wrong context for the navigation (notes, blogs, browser sessions).

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      We will test this in different parts since there are 4 related issues (that aren't particularly related) here:

      Related issue #1
      This will test the breadcrumbs for some of the links on the my profile page.
      1. Log in as any user.
      2. Go to the My Profile page.
      3. Go to the following links on the My Profile Page: My blog entries, My notes, My forum posts, My forum discussions
      4. For each of the links mentioned in the previous step, ensure that the breadcrumbs stem from Dashboard->My Profile->...
      5. View another user's profile and go to the following links on their profile page: View all blog entries, Notes, Forum posts, Forum discussions.
      6. For each of the links mentioned in the previous step, ensure that the breadcrumbs stem from Dashboard->Users->(user's name)->...

      Related issue #2
      Setup: Create a course with multiple students enrolled.
      1. Log in as admin.
      2. View the enrolled users for the course and view a student's profile.
      3. Click "View all blog entries". observe that the course full name is the main heading of the page and that the user information is the sub header.
      4. Log in as that student and view your own blog entries. Ensure that the user information is the main header for the page.
      5. Log in as admin.
      6. View the enrolled users for the course and view a student's profile.
      7. Click on "Notes".
      8. Ensure that the course full name is the main heading of the page and that the user information is the sub header.

      Related issue #3
      Setup: Create a course with multiple students enrolled.
      1. Log in as a student.
      2. Go into the course you just created and view the participants list.
      3. View another student's profile.
      4. Click "View all blog entries" and ensure that the participants link in the navigation block and breadcrumb are both links.

      Related issue #4
      1. Log in as an admin.
      2. View your own profile and ensure there isn't a link to "My preferences" on the page.
      3. View somebody else's profile and ensure the link to "My preferences" reads "Preferences"

      Show
      We will test this in different parts since there are 4 related issues (that aren't particularly related) here: Related issue #1 This will test the breadcrumbs for some of the links on the my profile page. 1. Log in as any user. 2. Go to the My Profile page. 3. Go to the following links on the My Profile Page: My blog entries, My notes, My forum posts, My forum discussions 4. For each of the links mentioned in the previous step, ensure that the breadcrumbs stem from Dashboard->My Profile->... 5. View another user's profile and go to the following links on their profile page: View all blog entries, Notes, Forum posts, Forum discussions. 6. For each of the links mentioned in the previous step, ensure that the breadcrumbs stem from Dashboard->Users->(user's name)->... Related issue #2 Setup: Create a course with multiple students enrolled. 1. Log in as admin. 2. View the enrolled users for the course and view a student's profile. 3. Click "View all blog entries". observe that the course full name is the main heading of the page and that the user information is the sub header . 4. Log in as that student and view your own blog entries. Ensure that the user information is the main header for the page . 5. Log in as admin. 6. View the enrolled users for the course and view a student's profile. 7. Click on "Notes". 8. Ensure that the course full name is the main heading of the page and that the user information is the sub header . Related issue #3 Setup: Create a course with multiple students enrolled. 1. Log in as a student. 2. Go into the course you just created and view the participants list. 3. View another student's profile. 4. Click "View all blog entries" and ensure that the participants link in the navigation block and breadcrumb are both links . Related issue #4 1. Log in as an admin. 2. View your own profile and ensure there isn't a link to "My preferences" on the page. 3. View somebody else's profile and ensure the link to "My preferences" reads "Preferences"
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49845-master
    • Sprint:
      Team '; drop tables Sprint 6

      Description

      NOTE: With the issues regarding the user's pictures - I am not certain what the expected behaviour is. It varies all over the place. This is an existing issue in Moodle but would be good to get it sorted now so it is consistent everywhere.

      Related Issues 1
      1. Log in as admin.
      2. Visit your profile.
      3. Click on 'My notes'.
      4. Notice there is no breadcrumbs.
      5. Click on 'Browser sessions'.
      6. Notice there is no breadcrumbs.
        Put in a breadcrumb
      Related issues 2
      1. Log in as an admin.
      2. Visit a course.
      3. View the enrolled users.
      4. Click on one of the user's profiles.
      5. Click on 'View all blog entries'.
      6. Notice the user's picture is above the breadcrumbs.
        If the course doesn't match the site ID then have the header be the course name and create a sub header for the user
      7. Go back to their profile page.
      8. Click on 'Notes'.
      9. Notice the user's picture is above the breadcrumbs.
        Same as above, if there is a course id that is not the site id then move the user header down to become the sub header (regardless of the fact that the page has all the information about all contexts)
      Related issues 3
      1. Log in as a student in a course (with more than one enrolled user).
      2. View another student's course profile.
      3. Click on 'View all blog entries'.
      4. Notice 'Participants' is not a URL (but is in other places).
        The participants title in the navigation block and the breadcrumb should be a link.
      Related issue 4
      1. Log in as the administrator (must be the admin).
      2. Go to my profile (through the user menu).
      3. My preferences should not show up on the my profile page.
        When viewing another person's profile remove their name from the preferences link.
        Remove link to preferences page in your own profile.

      This may not actually be a problem, as long as the administration block is always last.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15