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

Badge role criteria is not getting properly restored when course is restored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5.4, 2.6.1
    • Fix Version/s: None
    • Component/s: Badges
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      <br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/damyonw/Documents/Moodle/integration/MOODLE_25_STABLE/moodle/badges/award.php</b> on line <b>120</b><br /> <br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/damyonw/Documents/Moodle/integration/MOODLE_25_STABLE/moodle/badges/award.php</b> on line <b>130</b><br />

      To reproduce, create a course, assign some badges manually (as administrator), backup and restore to a new course, access some badge pages in the new course.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ybozhko Yuliya Bozhko
              Reporter:
              damyon Damyon Wiese
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: