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

Debugging messages in Book print view

    XMLWordPrintable

    Details

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

      Description

      As reported by Jasmin Klindzic 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

              Assignee:
              ryanwyllie Ryan Wyllie
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              Simey Lameze
              Integrator:
              Adrian Greeve
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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