Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7109

Questionnaire: Search indexing crashes out in error case

    XMLWordPrintable

Details

    Description

      In questionnaire, classes/search/activity.php, it calls the base class get_document function. This function sometimes returns false if there is an error (such as invalid/partial data remaining in the database for a questionnaire), but the search class doesn't take account of this and can cause a PHP fatal error as a result, bringing search indexing (and the rest of that cron run) to a halt.

      See attached patch.

      Attachments

        Activity

          People

            mchurch Mike Churchward
            quen Sam Marshall
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Nov/17