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

Completion criteria string is not correct when course is deleted.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.9.7, 3.0.5, 3.1.1, 3.3.3, 3.4
    • None
    • Badges
    • 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

              Unassigned Unassigned
              rajeshtaneja Rajesh Taneja
              Yuliya Bozhko, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: