Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.10, 4.0
-
Fix Version/s: 3.10
-
Component/s: Global search, Installation
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE, MOODLE_400_STABLE
-
Fixed Branches:MOODLE_310_STABLE
-
Pull from Repository:
-
Pull 3.10 Branch:
MDL-69477_310 -
Pull 3.10 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
This is a regression of MDL-68729, where a PHP Notice is happening on install / phpunit & behat init:
PHP Notice: Undefined property: stdClass::$searchenginequeryonly in /Users/stronk7/git_moodle/moodle/admin/settings/plugins.php on line 558
|
|
Notice: Undefined property: stdClass::$searchenginequeryonly in /Users/stronk7/git_moodle/moodle/admin/settings/plugins.php on line 558
|
It's specially harmful because I detected it when local_codechecker scheduled integration suddenly stopped working:
...
|
7/9 [=====================>------] 77% 41 secs [Initialize test suite]
|
287
|
288 [MoodlePluginCI\Process\MoodlePhpException]
|
289 PHP error message was detected when running this command:
|
290 php -d log_errors=1 -d error_log=NULL /home/travis/build/moodle/admin/too
|
291 l/behat/cli/util_single_run.php --install
|
292 Moodle scripts should run without any PHP errors.
|
293 Error Output
|
294 ============
|
295 PHP Notice: Undefined property: stdClass::$searchenginequeryonly in /home/
|
296 travis/build/moodle/admin/settings/plugins.php on line 558
|
...
|
it seems that we'll need to protect that with the usual empty() checks... on it...
Attachments
Issue Links
- is a regression caused by
-
MDL-68729 Search: Allow query on one Solr server and indexing on another
-
- Closed
-