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

Activity completion criteria not showing grade requirement

    Details

    • Testing Instructions:
      Hide

      Create new course with completion enabled
      Add the completion status block to the course
      Create new activity in course, set activity completion to be automatic ('show as complete when..') and require a grade. (activity should be gradable eg: assignment)
      Add the activity as a completion criteria via the course admin (completion tracking -> Activites completed)
      Enrol in the course as a learner/student
      Click the "details" link the course completion status block
      The row detailing instructions for completing the activity criteria used to give no indication of what is required.
      Test that you see nothing blank under the 'Requirement'.

      Show
      Create new course with completion enabled Add the completion status block to the course Create new activity in course, set activity completion to be automatic ('show as complete when..') and require a grade. (activity should be gradable eg: assignment) Add the activity as a completion criteria via the course admin (completion tracking -> Activites completed) Enrol in the course as a learner/student Click the "details" link the course completion status block The row detailing instructions for completing the activity criteria used to give no indication of what is required. Test that you see nothing blank under the 'Requirement'.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When the "Require grade" option is set in the common module settings for an activty, the completion_criteria_activity::get_details() function incorrectly returns a blank requirement.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            quen Sam Marshall added a comment -

            Thanks for patch. This relates to course completion, not activity completion, so reassigning.

            Show
            quen Sam Marshall added a comment - Thanks for patch. This relates to course completion, not activity completion, so reassigning.
            Hide
            evanirvingpease Evan Irving-Pease added a comment -

            The bug is actually in activity completion (completion_criteria_activity.php), it just manifests in a course completion report.

            Show
            evanirvingpease Evan Irving-Pease added a comment - The bug is actually in activity completion (completion_criteria_activity.php), it just manifests in a course completion report.
            Hide
            sry_not4sale Aaron Barnes added a comment -

            Hi Evan,

            Thank you very much for your patch.

            Cheers,
            Aaron

            Show
            sry_not4sale Aaron Barnes added a comment - Hi Evan, Thank you very much for your patch. Cheers, Aaron
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Integrated, thanks!

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
            Hide
            nebgor Aparup Banerjee added a comment -

            Can we please improve the testing instructions? its really difficult to follow through with.

            Show
            nebgor Aparup Banerjee added a comment - Can we please improve the testing instructions? its really difficult to follow through with.
            Hide
            sry_not4sale Aaron Barnes added a comment -

            How about that?

            Show
            sry_not4sale Aaron Barnes added a comment - How about that?
            Hide
            nebgor Aparup Banerjee added a comment -

            yes that helped

            Show
            nebgor Aparup Banerjee added a comment - yes that helped
            Hide
            nebgor Aparup Banerjee added a comment -

            Works for me!

            Show
            nebgor Aparup Banerjee added a comment - Works for me!
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11