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

Allow badges as criteria for other badges

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Manual testing:

      (Assign site badges)
      0. This requires 2 or more users.
      1. Log in as admin
      2. Navigate to Site Administration -> Badges ->Add a new badge
      3. Create a badge named "Badge 1"
      4. Add a criteria of "manual issue by role"
      5. Select "Administrator" and press save.
      6. Enable access to the badge
      7. Create a badge named "Badge 2"
      8. Add a criteria of "Awarded badges"
      9. Select "Badge 1" and press save.
      10. Enable access to the badge.
      11. Click on to "Manage Badges" then "Badge 1"
      11. Award Badge 1 to a user.
      12. Verify that "Badge 2" was also awarded to the same user.

      Perform some exploratory testing using badges as criteria for other badges.  Verify everything works as expected.

      Show
      Manual testing: (Assign site badges) 0. This requires 2 or more users. 1. Log in as admin 2. Navigate to Site Administration -> Badges ->Add a new badge 3. Create a badge named "Badge 1" 4. Add a criteria of "manual issue by role" 5. Select "Administrator" and press save. 6. Enable access to the badge 7. Create a badge named "Badge 2" 8. Add a criteria of "Awarded badges" 9. Select "Badge 1" and press save. 10. Enable access to the badge. 11. Click on to "Manage Badges" then "Badge 1" 11. Award Badge 1 to a user. 12. Verify that "Badge 2" was also awarded to the same user. Perform some exploratory testing using badges as criteria for other badges.  Verify everything works as expected.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull Master Branch:
      MDL-59875_m35v1

      Description

      It would be rather useful if badges could be used as criteria for other badges (meaning require the user to earn the "beginner badge" as criteria for earning the "Intermediate badge"

      This was discussed as part of MDL-39921, however I have a patch that implements this part.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18