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

Error displayed while editing content page jumps in the lesson

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.1
    • 2.9
    • Lesson
    • MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • Hide

      Test that MDL-48675 is fixed

      Create a lesson with some content pages.
      Edit one of these page and change a jump.
      Verify no notice or warning is displayed when saving the modified page.

      Test that MDL-32343 and MDL-31778 are fixed

      Create a lesson with a cluster:

      • some content page
      • a cluster page to mark the cluster's beginning
      • various questions with the right answer jump set to the above cluster
      • and end of cluster page to mark the cluster end
      • some content page

      Verify that you can edit pages of this lesson without producing any error or warning
      Edit the cluster page "Page title" and "Page contents" (don't change the jump !) save your changes and verify that the jump is still set to "Unseen question within a cluster" and not changed to "Next page".

      Show
      Test that MDL-48675 is fixed Create a lesson with some content pages. Edit one of these page and change a jump. Verify no notice or warning is displayed when saving the modified page. Test that MDL-32343 and MDL-31778 are fixed Create a lesson with a cluster: some content page a cluster page to mark the cluster's beginning various questions with the right answer jump set to the above cluster and end of cluster page to mark the cluster end some content page Verify that you can edit pages of this lesson without producing any error or warning Edit the cluster page "Page title" and "Page contents" (don't change the jump !) save your changes and verify that the jump is still set to "Unseen question within a cluster" and not changed to "Next page".

    Description

      Got an error while working on a lesson activity as part of a workshop at the Barcelona Moot. I am using current master.

      I had created a handful of content pages. Each page jumped to 1-2 pages although I left the jumps as their defaults, either the same page or the next page.

      I edited a page and changed its jumps to go to specific pages instead of same page/next page. When I pressed save, the following was displayed.

      Notice: Undefined property: stdClass::$response_editor in /home/andrew/Desktop/code/moodle/dev/master/mod/lesson/locallib.php on line 2275

      Notice: Undefined property: stdClass::$response_editor in /home/andrew/Desktop/code/moodle/dev/master/mod/lesson/locallib.php on line 2275

      Attachments

        Issue Links

          Activity

            People

              jmvedrine Jean-Michel Vedrine
              andyjdavis Andrew Davis
              Adrian Greeve Adrian Greeve
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15