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

Broken markup for course prerequisites in Course Completion Status block

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.6, 2.2.3, 2.3
    • 2.1.7, 2.2.4, 2.3.1
    • Course completion
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide
      • Enable course completion across the website in Advanced Features
      • Create 2 courses with completion enabled, and enable Self-completion criteria for both in Completion tracking settings
      • Create a third course with completion enabled, add both other courses as prerequisites in Completion tracking settings
      • Add the Completion Status block to the course
      • Enrol a user in the course
      • View the course as the enrolled user

      Before fix:

      • the "0 of 2" string indicating prerequisites completed appears out of order at the start of the block's output

      After fix:

      • the "0 of 2" string appears beside the string "Prerequisites completed"
      Show
      Enable course completion across the website in Advanced Features Create 2 courses with completion enabled, and enable Self-completion criteria for both in Completion tracking settings Create a third course with completion enabled, add both other courses as prerequisites in Completion tracking settings Add the Completion Status block to the course Enrol a user in the course View the course as the enrolled user Before fix: the "0 of 2" string indicating prerequisites completed appears out of order at the start of the block's output After fix: the "0 of 2" string appears beside the string "Prerequisites completed"

    Description

      This is a regression caused by MDL-26626, just a bad copy and paste.

      Attachments

        Issue Links

          Activity

            People

              sry_not4sale Aaron Barnes
              sry_not4sale Aaron Barnes
              Jason Fowler Jason Fowler
              Sam Hemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/12