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

Debugging messages in Book print view

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7
    • 3.7
    • Book

    Description

      As reported by jasmink in MDLQA-13208, when attempting to print the book or chapter, the following debugging message was displayed:

      Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()

      • line 1344 of /lib/weblib.php: call to debugging()
      • line 83 of /mod/book/tool/print/classes/output/print_book_page.php: call to format_text()
      • line 51 of /mod/book/tool/print/classes/output/renderer.php: call to booktool_print\output\print_book_page->export_for_template()
      • line 458 of /lib/outputrenderers.php: call to booktool_print\output\renderer->render_print_book_page()
      • line 93 of /mod/book/tool/print/index.php: call to plugin_renderer_base->render()

      I tried and found the same as Jasmin, but only for the Test Book for QA book (as provided in an .mbz file attached to MDLQA-13208). When attempting to print a different book - https://qa.moodle.net/mod/book/view.php?id=36 - no debugging message was displayed.

      Attachments

        Issue Links

          Activity

            People

              ryanwyllie Ryan Wyllie
              tsala Helen Foster
              Simey Lameze Simey Lameze
              Adrian Greeve Adrian Greeve
              Anna Carissa Sadia Anna Carissa Sadia
              David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 25 minutes
                  2h 25m