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

Starred courses remain starred (in Starred Courses block) after unenrollment

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.3, 3.7
    • None
    • Blocks, Dashboard (My home)
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-65363-starred-courses-only-include-enroled-courses
    • Hide

      1. Log in as admin.
      2. Create a new course (C1), set visibility to "Hide".
      3. Enrol yourself as student in course C1.
      4. Navigate to the Dashboard.
      5. In the Course Overview block, star C1.
      6. In the "Course overview" block, filter by "Starred" and verify that C1 is listed there.
      7. Navigate back to C1, and unenrol yourself.
      8. Return to the Dashboard.
      9. In the "Course overview" block, filter by "Starred" and verify that C1 is not listed there.

      Show
      1. Log in as admin. 2. Create a new course (C1), set visibility to "Hide". 3. Enrol yourself as student in course C1. 4. Navigate to the Dashboard. 5. In the Course Overview block, star C1. 6. In the "Course overview" block, filter by "Starred" and verify that C1 is listed there. 7. Navigate back to C1, and unenrol yourself. 8. Return to the Dashboard. 9. In the "Course overview" block, filter by "Starred" and verify that C1 is not listed there.

    Description

      Even after a user is unenrolled from a starred course, that course remains in the Starred Courses block. This is confusing. If the user doesn't have access to this course, it should no longer remain in the Starred Courses block.

      To reproduce:

      1. Manager 1 enrolls Student 1 into Course A (with student role)
      2. Student 1 logs in and "stars" Course A. It now appears in the Starred Courses block (and the Course Overview block)
      3. Manage 1 unenrolls Student 1 from Course A.
      4. Student 1 logs in and no longer sees Course A in Course Overview, but still sees it in the Starred Courses block, even though the student can no longer access this course.

      I suppose there might be some logic in starred courses continuing to appear after unenrollment from them, but I believe this is confusing to users.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bnwinsf Brian Warling
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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