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

Debugging message when indexing collaborative wikis

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable and set-up Global Search
      2. Create a wiki module
      3. In the wiki, create a page and insert an image to the content
      4. Run the indexer
        • php admin/tool/task/cli/schedule_task.php --execute=\\core\\task
          search_index_task
      5. Confirm that no errors, or notices, are displayed

      Note that running the task twice has no effect, in doubt change the content of the wiki page, and re-run it.

      Show
      Enable and set-up Global Search https://docs.moodle.org/31/en/Global_search CFG->enableglobalsearch Create a wiki module In the wiki, create a page and insert an image to the content Run the indexer php admin/tool/task/cli/schedule_task.php --execute=\\core\\task search_index_task Confirm that no errors, or notices, are displayed Note that running the task twice has no effect, in doubt change the content of the wiki page, and re-run it.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53914-master

      Description

      I've just seen a few of these debugging messages while indexing stuff

      Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()
      line 1312 of /lib/weblib.php: call to debugging()
      line 97 of /mod/wiki/classes/search/collaborative_page.php: call to format_text()
      line ? of unknownfile: call to mod_wiki\search\collaborative_page->get_document()
      line 103 of /lib/classes/dml/recordset_walk.php: call to call_user_func()
      line 494 of /search/classes/manager.php: call to core\dml\recordset_walk->current()
      line 72 of /report/search/index.php: call to core_search\manager->index()
      

      Related with MDL-53613.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fred Frédéric Massart
                Reporter:
                dmonllao David Monllaó
                Peer reviewer:
                David Monllaó
                Integrator:
                Andrew Nicols
                Tester:
                Rajesh Taneja
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16