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

Course badges shown inconsistently when course badges has been disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.5, 3.0.3, 3.1
    • Fix Version/s: 3.0.7, 3.1.3
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable course badges (badges_allowcoursebadges)
      2. Create a new course badge
      3. Assign it to a user
      4. Create a new site badge
      5. Assign it to the same user
      6. View the user's profile page
      7. The course badge and site badge should be shown
      8. Disable course badges (turn off badges_allowcoursebadges)
      9. View the user's profile page
      10. The course badge should not be shown and site badge should be shown
      11. View the user's course profile page
      12. The badge is NOT shown
      Show
      Enable course badges (badges_allowcoursebadges) Create a new course badge Assign it to a user Create a new site badge Assign it to the same user View the user's profile page The course badge and site badge should be shown Disable course badges (turn off badges_allowcoursebadges) View the user's profile page The course badge should not be shown and site badge should be shown View the user's course profile page The badge is NOT shown
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      As Frédéric Massart points out in MDL-53462 if course badges have been enabled, awarded, and then disabled, they are still shown inconsistently within the UI.

      Steps to reproduce
      1. Enable course badges
      2. Create a new course bade
      3. Assign it to a user
      4. Disable course badge
      5. View the user's profile page
        1. The course badge is still shown
      6. View the user's course profile page
        1. The badge is NOT shown

      This inconsistency is extended to the new web service introduced in MDL-53462.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Nov/16