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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.5.4, 2.6.1
    • None
    • Badges
    • 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

              ybozhko Yuliya Bozhko
              damyon Damyon Wiese
              Yuliya Bozhko, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: