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

Hidden activities are listed on the completion progress details page

XMLWordPrintable

    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-51447-master
    • Hide
      SET-UP
      1. Create a new course, or use an existing one.
      2. Enable course completion, if not enabled already.
      3. Add the course completion status block to that course
      4. Using four sections, in each section we are going to create:
        • a activity
        • a hidden activity
        • a activity that is conditionally visible
        • a activity that is conditionally hidden
      5. Hide section 2
      6. make section 3 conditionally visible
      7. make section 4 conditionally hidden
      TEST
      1. log in as as student
      2. the student only sees the first and third activity
      3. click on the 'more details' in the course completion status block
      4. The student should only see the the first and third activity title and link in the criteria column, all other items should not reveal a title (Not available), nor a link.
      5. log out
      6. log in as an admin
      7. navigate to navigate to Course completion status settomgs in Site administration > Plugins > Blocks
      8. Check the Reveal hidden/unavailable titles checkbox
      9. log out
      10. log in as a student
      11. the student only sees the first and third activity
      12. click on the 'more details' in the course completion status block
      13. The student sees all activity titles in the criteria column, only the first and third activity are links, all other activities are greyed out.
      Show
      SET-UP Create a new course, or use an existing one. Enable course completion, if not enabled already. Add the course completion status block to that course Using four sections, in each section we are going to create: a activity a hidden activity a activity that is conditionally visible a activity that is conditionally hidden Hide section 2 make section 3 conditionally visible make section 4 conditionally hidden TEST log in as as student the student only sees the first and third activity click on the 'more details' in the course completion status block The student should only see the the first and third activity title and link in the criteria column, all other items should not reveal a title (Not available), nor a link. log out log in as an admin navigate to navigate to Course completion status settomgs in Site administration > Plugins > Blocks Check the Reveal hidden/unavailable titles checkbox log out log in as a student the student only sees the first and third activity click on the 'more details' in the course completion status block The student sees all activity titles in the criteria column, only the first and third activity are links, all other activities are greyed out.

      When a student consults the details page of the completion status block, he/she sees all tasks that have to be done.

      But all tasks are shown as a normal link. There is no clue for students to know which task is still hidden.

      It would be better that students immediately see the difference between modules that are visible and the ones that are hidden. Perhaps a simple adding of a ' dimmed_text' class to the link could do wonders.

      Edited to add:

      Steps to reproduce:

      1. Enable completion tracking in advanced features and in a course
      2. Add activity with activity completion
      3. Hide the activity
      4. In course completion settings, set the activity with activity completion as a condition
      5. Add the course completion status block to the course
      6. Log in as a student and click the 'More details' link blocks/completionstatus/details.php in the course completion status block

      Expected result:

      Hidden activity is not shown

      Actual result:

      Hidden activity is listed with a link to the activity which if the user clicks gives an error message 'Sorry, this activity is currently hidden'.

            Votes:
            34 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.