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

Deprecated warning, in maketestplan

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Performance
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-42343_master

      Description

      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()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13