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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.2
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Mar/07