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

Behat init script generating notices

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-38618_master
    • Hide
      1. Delete behat test environment
        1. cd /your/dirroot
        2. php admin/tool/behat/cli/util.php --drop
      2. Enable performance settings in config.php (read config-dist.php if you don't know how to do it)
      3. Init behat test environment
        1. php admin/tool/behat/cli/init.php
      4. You SHOULD NOT see any notice regarding $jsrev, well ANY notice
      Show
      Delete behat test environment cd /your/dirroot php admin/tool/behat/cli/util.php --drop Enable performance settings in config.php (read config-dist.php if you don't know how to do it) Init behat test environment php admin/tool/behat/cli/init.php You SHOULD NOT see any notice regarding $jsrev, well ANY notice

      1. Enable all pref configs
      2. Drop existing behat tables
      3. run the behat init script.
        Expected behaviors:- No errors are generated.
        Actual behaviour:- Following debug info is generated

        PHP Notice:  Undefined property: stdClass::$jsrev in /var/www/int/master/moodle/lib/outputrequirementslib.php on line 1359                                                                    
        PHP Stack trace:                                                                                                                                                                              
        PHP   1. {main}() /var/www/int/master/moodle/admin/tool/behat/cli/util.php:0                                                                                                                  
        PHP   2. behat_util::get_behat_status() /var/www/int/master/moodle/admin/tool/behat/cli/util.php:187                                                                                          
        PHP   3. behat_command::behat_setup_problem() /var/www/int/master/moodle/lib/behat/classes/util.php:214                                                                                       
        PHP   4. behat_error() /var/www/int/master/moodle/lib/behat/classes/behat_command.php:140                                                                                                     
        PHP   5. testing_error() /var/www/int/master/moodle/lib/behat/lib.php:70                                                                                                                      
        PHP   6. moodle_request_shutdown() /var/www/int/master/moodle/lib/moodlelib.php:0                                                                                                             
        PHP   7. get_performance_info() /var/www/int/master/moodle/lib/moodlelib.php:10358                                                                                                            
        PHP   8. moodle_page->__get() /var/www/int/master/moodle/lib/moodlelib.php:10594                                                                                                              
        PHP   9. moodle_page->magic_get_requires() /var/www/int/master/moodle/lib/pagelib.php:717                                                                                                     
        PHP  10. page_requirements_manager->__construct() /var/www/int/master/moodle/lib/pagelib.php:600                                                                                              
        PHP  11. YUI_config->add_moodle_metadata() /var/www/int/master/moodle/lib/outputrequirementslib.php:234                                                                                       
        PERF:  time: 0.126641s memory_total: 42848808B (40.9MB) memory_growth: 40957672B (39.1MB) memory_peak: 45077592B (43MB) includecount: 97 langcountgetstring: 9 includedyuimodules: 0 includedjsmodules: 2 db reads/writes: 9/0 ticks: 14 user: 14 sys: 0 cuser: 0 csys: 0 serverload: 2.22 Caches used (hits/misses/sets): 0/0/0                                                            
        Behat requirement not satisfied: PHP 5.4 is required. See config-dist.php for possible alternatives                                                                                           
         
        Notice: Undefined property: stdClass::$jsrev in /var/www/int/master/moodle/lib/outputrequirementslib.php on line 1359                                                                         
         
        Call Stack:                                                                                                                                                                                   
            0.0003     693336   1. {main}() /var/www/int/master/moodle/admin/tool/behat/cli/util.php:0                                                                                                
            0.1333   42846888   2. behat_util::get_behat_status() /var/www/int/master/moodle/admin/tool/behat/cli/util.php:187                                                                        
            0.1333   42846968   3. behat_command::behat_setup_problem() /var/www/int/master/moodle/lib/behat/classes/util.php:214                                                                     
            0.1334   42847248   4. behat_error() /var/www/int/master/moodle/lib/behat/classes/behat_command.php:140                                                                                   
            0.1334   42847480   5. testing_error() /var/www/int/master/moodle/lib/behat/lib.php:70                                                                                                    
            0.1334   42847544   6. moodle_request_shutdown() /var/www/int/master/moodle/lib/moodlelib.php:0                                                                                           
            0.1334   42847624   7. get_performance_info() /var/www/int/master/moodle/lib/moodlelib.php:10358                                                                                          
            0.1376   43405392   8. moodle_page->__get() /var/www/int/master/moodle/lib/moodlelib.php:10594                                                                                            
            0.1376   43405544   9. moodle_page->magic_get_requires() /var/www/int/master/moodle/lib/pagelib.php:717                                                                                   
            0.1376   43408456  10. page_requirements_manager->__construct() /var/www/int/master/moodle/lib/pagelib.php:600                                                                            
            0.1376   43420088  11. YUI_config->add_moodle_metadata() /var/www/int/master/moodle/lib/outputrequirementslib.php:234

            dmonllao David Monllaó
            ankit_frenz Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.