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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rwijaya Rossiani Wijaya
              Reporter:
              rwijaya Rossiani Wijaya
              Peer reviewer:
              Andrew Davis Andrew Davis
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Aug/11