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

Adding an image to a true false lesson page generates warning.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.6, 3.1.2
    • 3.1
    • Lesson
    • MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • wip-MDL-55366-master
    • Hide
      1. Create a lesson.
      2. Add a True or False question and make sure to add images everywhere possible.
      3. Add a matching question and make sure to add images everywhere possible.
      4. Add another page after the matching question.
      5. In the answer add an image.
      6. Preview the lesson.
      7. After selecting the answer for the True or False question you should be taken to the next page. You should not see a warning.
      Show
      Create a lesson. Add a True or False question and make sure to add images everywhere possible. Add a matching question and make sure to add images everywhere possible. Add another page after the matching question. In the answer add an image. Preview the lesson. After selecting the answer for the True or False question you should be taken to the next page. You should not see a warning.
    • 3.2 Sprint 4

      It generates the following warning:

      Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()
      line 1313 of /lib/weblib.php: call to debugging()
      line 420 of /mod/lesson/pagetypes/truefalse.php: call to format_text()
      line 201 of /lib/formslib.php: call to lesson_display_answer_form_truefalse->definition()
      line 87 of /mod/lesson/pagetypes/truefalse.php: call to moodleform->__construct()
      line 2490 of /mod/lesson/locallib.php: call to lesson_page_type_truefalse->check_answer()
      line 82 of /mod/lesson/continue.php: call to lesson_page->record_attempt()
      

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Mark Nelson Mark Nelson
            Dan Poltawski Dan Poltawski
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.