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

FULLME is not initialised for CLI, but some unit tests and other locations rely on it

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.5, 4.1.1
    • None
    • General
    • None

    Description

      The initialise_fullme_cli() function states:

      Urls do not make much sense in CLI scripts

      However, a number of unit tests, and possibly other CLI locations too, do rely on this being set.

      Arguably this should be set to either;

      • wwwroot
      • the path to the script being called

      Attachments

        Activity

          People

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: