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

Can't Import a Lesson from another course OR Restore the lesson and merge it into a course.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Backup, Lesson
    • Labels:
    • Environment:
      Linux/Apache with Moodle 2.0 (Build: 20101125)
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I tried to copy a large Lesson Activitiy from course-1 into course-2 on the same Moodle instal. I tried to use Import from course-1 into course-2 and also made a backup of course-1 and then restored it into course-2.

      The Lesson appears to import and restore OK. I can edit it but when I try to run the Lesson, I get this error message:

      Could not find lesson pages

      More information about this error

      Stack trace:
      •line 421 of /lib/setuplib.php: moodle_exception thrown
      •line 2665 of /mod/lesson/locallib.php: call to print_error()
      •line 1299 of /mod/lesson/locallib.php: call to lesson_page_type_manager->load_page()
      •line 271 of /mod/lesson/view.php: call to lesson->load_page()

      I can see the lesson pages in the database, but Moodle can't find them.

      Clarence

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11