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

Completion criteria string is not correct when course is deleted.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.7, 3.0.5, 3.1.1, 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Badges
    • Labels:
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      1. Login as admin.
      2. Turn debugging ON.
      3. Create a course and enable completion tracking.
      4. Under Course administration go to Badges ► Manage badges
      5. Add a new badge.
      6. On the badge's page, click on the Criteria.
      7. Under Add badge criteria, select Course completion
      8. Enter a value for the Minimum grade required, then click Save.
      9. Open another window and delete the course.
      10. Refresh the page with the badge settings.
      11. The following message is displayed:

        Users must complete the course  Warning: This course is no longer available.
        

      It should read either warning or proper completion requirement.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rajeshtaneja Rajesh Taneja
                Participants:
                Component watchers:
                Yuliya Bozhko, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: