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

Assign overview page shows debugging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Assignment
    • Labels:

      Description

      MDL-52954 was integrated - but we hadn't waited for a full complete behat run. Now that the run is complete it looks like there were some failures:

      http://integration.moodle.org/job/M.08%20Run%20all%20behat%20features%20in%20firefox-linux%20-%20Parallel/lastBuild/console

      I see 2 errors here - one looks like it's from mod_feedback - and I'll ignore that one here. The other looks real and looks like this error repeated in several tests:

      Notice: Trying to get property of non-object in /store/moodle/behat_whole_suite_m_parallel/mod/assign/locallib.php on line 208
            ' in /store/moodle/behat_whole_suite_m_parallel/lib/behat/behat_base.php:784
            Stack trace:
            #0 /store/moodle/behat_whole_suite_m_parallel/lib/tests/behat/behat_hooks.php(504): behat_base->look_for_exceptions()
            #1 [internal function]: behat_hooks->i_look_for_exceptions()
            #2 /store/moodle/behat_whole_suite_m_parallel/vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php(104): call_user_func_array(Array, Array)
            #3 /store/moodle/behat_whole_suite_m_parallel/vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php(60): Behat\Testwork\Call\Handler\RuntimeCallHandler->executeCall(Object(Behat\Behat\Definition\Call\DefinitionCall))
      

      To reproduce - view the assignment overview page. /mod/assign/index.php?id=<courseid>

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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