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

The "This badge has been issued user(s)." notification is displayed in more situations than expected

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-82233-403
    • MDL-82233-404
    • MDL-82233-main
    • Hide

      Setup 1 (for Moodle 4.4 onwards)

      1. Download the attached MDL-82233.feature.
      2. Run the following command to create a course with a few badges:

        php admin/tool/generator/cli/runtestscenario.php --feature="absolute/path/to/file.feature"
        

        It might fail while creating the users if they already exist in your local instance. If that's the case, this error can be ignored.

      Setup 1 (for Moodle 4.3)

      1. Create a course named "MDL-82233-test".
      2. Enrol a couple of students to the course (s1 and s2).
      3. Access the course and add an assignment called "Assignment name 1" with "View the activity" set as a Completion condition.
      4. Go to "Badges > Manage badges".
      5. Create a badge named "Activity completion course badge".
      6. Create another badge named "Role course badge" and set criteria to "Manual issue by role" (selecting any of the roles)

      Setup 2 (for all the Moodle versions)

      1. Login as student s1
      2. Access  the course "MDL-82233-test" and go to "Assignment name 1"
      3. Repeat with student s2
      4. Login as admin.
      5. Go to the course "MDL-82233-test" and access "Badges > Manage badges".
      6. Follow the "Activity completion course badge"
      7. Access the Criteria page.
      8. Add a criterion "Activity completion", selecting the "Assignment name 1".

      Testing instructions

      1. Login as admin.
      2. Go to the course "MDL-82233-test" and access "Badges > Manage badges".
      3. Follow the "Role course badge" link.
      4. Check the notification "This badge has been issued user(s)." is not displayed.
      5. Enable the "Role course badge" badge (from the Overview page).
      6. Check the notification "This badge has been issued user(s)." is not displayed.
      7. Go back to the "Manage badges" page.
      8. Follow the "Activity completion course badge".
      9. Check the notification "This badge has been issued user(s)." is not displayed.
      10. Enable the "Activity completion course badge" badge (from the Overview page).
      11. Check the notification "This badge has been issued 2 user(s)." is displayed (the number, 2, might be different if you have accessed with more or fewer students to the assignment).
      Show
      Setup 1 (for Moodle 4.4 onwards) Download the attached MDL-82233.feature . Run the following command to create a course with a few badges: php admin/tool/generator/cli/runtestscenario.php --feature="absolute/path/to/file.feature" It might fail while creating the users if they already exist in your local instance. If that's the case, this error can be ignored. Setup 1 (for Moodle 4.3) Create a course named " MDL-82233 -test". Enrol a couple of students to the course (s1 and s2). Access the course and add an assignment called "Assignment name 1" with "View the activity" set as a Completion condition. Go to "Badges > Manage badges". Create a badge named "Activity completion course badge". Create another badge named "Role course badge" and set criteria to "Manual issue by role" (selecting any of the roles) Setup 2 (for all the Moodle versions) Login as student s1 Access  the course " MDL-82233 -test" and go to "Assignment name 1" Repeat with student s2 Login as admin. Go to the course " MDL-82233 -test" and access "Badges > Manage badges". Follow the "Activity completion course badge" Access the Criteria page. Add a criterion "Activity completion", selecting the "Assignment name 1". Testing instructions Login as admin. Go to the course " MDL-82233 -test" and access "Badges > Manage badges". Follow the "Role course badge" link. Check the notification "This badge has been issued user(s)." is not displayed. Enable the "Role course badge" badge (from the Overview page). Check the notification "This badge has been issued user(s)." is not displayed. Go back to the "Manage badges" page. Follow the "Activity completion course badge". Check the notification "This badge has been issued user(s)." is not displayed. Enable the "Activity completion course badge" badge (from the Overview page). Check the notification "This badge has been issued 2 user(s)." is displayed (the number, 2, might be different if you have accessed with more or fewer students to the assignment).
    • 1
    • HQ 2024 Sprint I2.2 Moppies

      Steps to reproduce

      1. Create a course.
      2. Add a badge with at least a criterion.
      3. Go to the Overwiew page for the badge

       

      Expected behaviour

      The message "This badge has been issued user(s)." is not displayed

       

      Current behaviour

      The message "This badge has been issued user(s)." is displayed

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Mikel Martín Corrales Mikel Martín Corrales
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 16 minutes
                2h 16m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.