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

Conditional activities that are not available still show as links in gradebook

    Details

    • Testing Instructions:
      Hide

      0. Ensure conditional availability and completion are enabled at site level and for a test course.
      1. On the test course, create a Page activity set so that user can manually mark complete.
      2. Create a Quiz activity set so that it is only available when the Page activity has been completed.
      3. Enrol a test account as a Student on the test course.
      4. Log in as the student.
      5. Go to the course and click on Grades to see the gradebook.

      • Note that the grade for the test quiz (currently no grade) is displayed.
      • The test quiz should not be a link as it is not available yet.
        6. Return to the main page. Click on the tick box to mark the Page as completed. The quiz on main page should now turn into a link.
        7. Go to gradebook again
      • The test quiz should now be a link.
      Show
      0. Ensure conditional availability and completion are enabled at site level and for a test course. 1. On the test course, create a Page activity set so that user can manually mark complete. 2. Create a Quiz activity set so that it is only available when the Page activity has been completed. 3. Enrol a test account as a Student on the test course. 4. Log in as the student. 5. Go to the course and click on Grades to see the gradebook. Note that the grade for the test quiz (currently no grade) is displayed. The test quiz should not be a link as it is not available yet. 6. Return to the main page. Click on the tick box to mark the Page as completed. The quiz on main page should now turn into a link. 7. Go to gradebook again The test quiz should now be a link.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull Master Branch:
      MDL-29501-master

      Description

      A student can not perform an activity because it is conditioned can be accessed through the gradebook.

      In addition, once the activity is accessed an error and return to home page and not to course view page.

        Gliffy Diagrams

          Attachments

          1. courseview.PNG
            courseview.PNG
            31 kB
          2. gradeview.PNG
            gradeview.PNG
            21 kB
          3. quizview.PNG
            quizview.PNG
            23 kB
          4. screenshot-1.jpg
            screenshot-1.jpg
            18 kB
          5. screenshot-2.jpg
            screenshot-2.jpg
            23 kB
          6. screenshot-3.jpg
            screenshot-3.jpg
            5 kB

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

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