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

Images in tinymce book description field do not appear on the print preview.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Book

      When an image is inserted in Book administration > Edit settings > Description field; that image appears as a broken image in the print preview and any printed document.

      Test 1:
      Test pre-requisites:

      • One course in Moodle.
      • Teacher access to it.

      Test steps:

      1. Login as teacher and access to the course.
      2. Turn edit on.
      3. In the "Settings" block, click on restore.
      4. Restore the attached activity backup (test_book_for_qa_20120522.mbz) into the course the user is teacher. Don't modify any setting, just use default ones.
      5. Test: One book resource, with title "Test Book for QA".
      6. Access to the restored book.
      7. Test: It shows 4 chapters (1, 2, 3 & 4) and 2 subchapters (3A & 3B).
      8. In the "Settings block", click the "Print book" item.

      Expected results:

      • The image that is in the Description field appears in the print preview.

      Actual result:

      • The image is missing, but the HTML element "<img width="234" height="60" alt="Do you Moodle?" src="@@PLUGINFILE@@/234_60.png">" is present on the page.

        1. Do you Moodle Image.jpg
          214 kB
          Tim Barker
        2. Do you Moodle Image is missing from page preview.jpg
          162 kB
          Tim Barker
        3. test_book_for_qa_20120522.mbz
          88 kB
          Tim Barker

            stronk7 Eloy Lafuente (stronk7)
            timb Tim Barker
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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