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

Incorrect attribution of manual bagdes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.11, 2.9.5, 3.0, 3.0.6, 3.1.2
    • Fix Version/s: 3.0.7, 3.1.3
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      1. Create a course with 2 students
      2. Create two badges with criterion "Manual issue by role Teacher" and “All of the selected roles award the badge”
      3. Login as teacher
      4. Assign badge A to student 1
      5. Assign badge B to student 2
      6. Run cron
      7. Go to Manage badges in course and see than student 1 been awarded badges A and student2 has been awarded with badge B.

      Show
      1. Create a course with 2 students 2. Create two badges with criterion "Manual issue by role Teacher" and “All of the selected roles award the badge” 3. Login as teacher 4. Assign badge A to student 1 5. Assign badge B to student 2 6. Run cron 7. Go to Manage badges in course and see than student 1 been awarded badges A and student2 has been awarded with badge B.
    • Workaround:
      Hide

      Don't use the criteria "All of the selected roles award the badge"

      Show
      Don't use the criteria "All of the selected roles award the badge"
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53893-master
    • Sprint:
      3.2 Sprint 5

      Description

      If we create two badges with same criterion "Manual issue by role" and criteria "All of the selected roles award the badge", when the two badges are assigned, one to each student they both are awarded by both students, despite only one badge was manually issued to each student.

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            avilela Antonio Vilela
            Peer reviewer:
            cameron1729
            Integrator:
            David Monllaó
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

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