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

Available courses shown twice if user is not enrolled in any course.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup your test environment.

      1. Login as Admin
      2. Create 3 courses, C1, C2, C3
      3. Create users s1, s2
      4. Enrol user s1 in course C1
      5. Navigate to Site Home
      6. Click the top-right gear icon and choose "Edit Settings"
      7. On "Front page items when logged in"
      8. In the first dropdown choose "Enrolled courses"
      9. In the second dropdown choose "List of Courses"

      Test if Enrolled courses and List of Courses show correct content.

      1. Login as use s1
      2. Navigate to site home
      3. Verify user s1 sees course C1 listed in the "My Courses"
      4. Verify user s1 sees courses C1, C2 and C3 listed in "Available Courses"

      Test if Enrolled courses does not fallback to list of courses and content is duplicated

      1. Login as user s2
      2. Navigate to site home
      3. Verify user s2 does not see the "Enrolled courses section"
      4. Verify user s2 only sees courses C1, C2 and C3 and does not see these courses duplicated.
      Show
      Setup your test environment. Login as Admin Create 3 courses, C1, C2, C3 Create users s1, s2 Enrol user s1 in course C1 Navigate to Site Home Click the top-right gear icon and choose "Edit Settings" On "Front page items when logged in" In the first dropdown choose "Enrolled courses" In the second dropdown choose "List of Courses" Test if Enrolled courses and List of Courses show correct content. Login as use s1 Navigate to site home Verify user s1 sees course C1 listed in the "My Courses" Verify  user s1 sees courses C1, C2 and C3 listed in "Available Courses" Test if Enrolled courses does not fallback to list of courses and content is duplicated Login as user s2 Navigate to site home Verify user s2 does not see the "Enrolled courses section" Verify user s2 only sees courses C1, C2 and C3 and does not see these courses duplicated.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
      MDL-57636_m35
    • Pull 3.6 Branch:
      MDL-57636_m36
    • Pull Master Branch:
      MDL-57636_master

      Description

      1. Set frontpageloggedin to Enrolled courses, List of courses, none, none...
      2. Login with a user that is not enrolled in any course and go to frontpage
      List of available courses is shown twice.

      If you set frontpageloggedin to Enrolled courses,none,none... and login with the same user, you will be presented with Available courses

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 29 minutes
                  29m