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

When im editing or adding lessons, I get the error "Update page: answer record not inserted". I am then sent back to my homepage

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.7.2
    • Lesson
    • None
    • MOODLE_17_STABLE
    • MOODLE_17_STABLE

    Description

      When I edit or add a lesson, I get the following error

      "Update page: answer record not inserted". This is when I try to add a branch table.

      I opened de-bugging mode and it presented me with the following information.

      Error: Invalid context creation request for level "70", instance "".

      Incorrect context parameter "" for has_capability(), object expected! This should be fixed in code.

      Error: Invalid context creation request for level "70", instance "".

      Incorrect context parameter "" for has_capability(), object expected! This should be fixed in code.

      Once I click continue, I get the following,

      Field 'response' doesn't have a default value

      INSERT INTO mdl_lesson_answers ( LESSONID, PAGEID, JUMPTO, FLAGS, TIMECREATED, ANSWER )

      Please help as I can no longer edit or add lessons.

      Thanks

      Michael Kenner

      Attachments

        Activity

          People

            bushido Mark Nielsen
            mikekenner Michael Kenner
            Nobody Nobody
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30/Mar/07