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

Hidden courses visible in block_starredcourses

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as Admin.
      2. Create a Course.
      3. Enrol a Student and a Teacher in the Course.
      4. Login as Student.
      5. Navigate to Dashboard.
      6. Click on 'Customise this page'.
        • Add 'Course overview' block.
        • Add 'Starred courses' block.
      7. Star the Course from the 'Course overview' block.
        • It should appear in the 'Starred courses' block.
      8. Login as Teacher.
      9. Navigate to Dashboard.
      10. Click on 'Customise this page'.
        • Add 'Course overview' block.
        • Add 'Starred courses' block.
      11. Star the Course from the 'Course overview' block.
        • It should appear in the 'Starred courses' block.
      12. Hide the Course.
      13. Navigate to Dashboard.
        • The Course should still appear in the 'Starred courses' block (labelled as "Hidden from students").
      14. Login as Student.
      15. Navigate to Dashboard.
        • The Course should not appear in the 'Starred courses' block.
      Show
      Login as Admin. Create a Course. Enrol a Student and a Teacher in the Course. Login as Student. Navigate to Dashboard. Click on 'Customise this page'. Add 'Course overview' block. Add 'Starred courses' block. Star the Course from the 'Course overview' block. It should appear in the 'Starred courses' block. Login as Teacher. Navigate to Dashboard. Click on 'Customise this page'. Add 'Course overview' block. Add 'Starred courses' block. Star the Course from the 'Course overview' block. It should appear in the 'Starred courses' block. Hide the Course. Navigate to Dashboard. The Course should still appear in the 'Starred courses' block (labelled as "Hidden from students"). Login as Student. Navigate to Dashboard. The Course should not appear in the 'Starred courses' block.
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull 3.6 Branch:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-66851-master

      Description

      If a course has been starred by a student, then the course is subsequently hidden, it is still visible in the starred courses block. It should not be displayed.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 52 minutes
                1h 52m