Moodle
  1. Moodle
  2. MDL-27955

Error on navigating back through a lesson activity (reviewing lesson)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1
    • Fix Version/s: 2.0.4
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide

      1. Login as a teacher, update a lesson activity and set 'Allow student review' to Yes and 'Maximum number of attempts' to a value greater than 1.
      2. Login as a student and attempt the activity.
      3. Click the 'Review lesson' button at the end of the activity.

      Able to review the questions.

      Show
      1. Login as a teacher, update a lesson activity and set 'Allow student review' to Yes and 'Maximum number of attempts' to a value greater than 1. 2. Login as a student and attempt the activity. 3. Click the 'Review lesson' button at the end of the activity. Able to review the questions.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-27955_HEAD
    • Rank:
      17596

      Description

      upon reviewing, error message displayed (with PHP errors debug mode ON):
      Notice: Trying to get property of non-object in \moodle\mod\lesson\pagetypes\multichoice.php on line 508

      Notice: Undefined offset: 0 in \moodle\mod\lesson\pagetypes\matching.php on line 507
      Notice: Undefined index: in \moodle\mod\lesson\pagetypes\matching.php on line 507
      Notice: Trying to get property of non-object in \moodle\mod\lesson\pagetypes\matching.php on line 507

        Issue Links

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: