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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Book
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              timb Tim Barker
              Integrator:
              Dan Poltawski
              Participants:
              Component watchers:
              David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Jun/12