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

Deprecated warning, in maketestplan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 2.6
    • Performance
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-42343_master
    • Hide

      This test requires debug at developer level

      1. Create a 'M' course using admin/tool/generator/cli/maketestcourse.php
      2. Run php admin/tool/generator/cli/maketestplan.php using --size="M" --shortname="WHATEVERSHORTNAMETHECOURSEHAVE"
        • You will need to set $CFG->tool_generator_users_password if you haven't set that before
      3. You SHOULD not see any debugging message about using a deprecated function
      Show
      This test requires debug at developer level Create a 'M' course using admin/tool/generator/cli/maketestcourse.php Run php admin/tool/generator/cli/maketestplan.php using --size="M" --shortname="WHATEVERSHORTNAMETHECOURSEHAVE" You will need to set $CFG->tool_generator_users_password if you haven't set that before You SHOULD not see any debugging message about using a deprecated function

      Follow the testing instructions of MDL-42198, no warning should be generated.

      However the following is generated:-

      ++ session_set_user() is deprecated, use \core\session\manager::set_user() instead ++
      * line 131 of /lib/deprecatedlib.php: call to debugging()
      * line 97 of /admin/tool/generator/cli/maketestplan.php: call to session_set_user()

            dmonllao David Monllaó
            ankit_frenz Ankit Agarwal
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            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.