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

Error displayed while editing content page jumps in the lesson

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.9
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      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".
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:

      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

              Assignee:
              jmvedrine Jean-Michel Vedrine
              Reporter:
              andyjdavis Andrew Davis
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Dan Poltawski
              Tester:
              David Monllaó
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15