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

Print URL of the generated course

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.8.8
    • Fix Version/s: 3.0
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide
      Quiet mode
      • Run:

        php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS1 --quiet --size=XS --filesizelimit=1024 --bypasscheck
        

      • There should be no output.
      With output:
      • Run:

        php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS2 --size=XS --filesizelimit=1024 --bypasscheck
        

      • There should be output similar to:

        * Creating course GENERATED_XS2
        * Checking user accounts (1)
        * Enrolling users into course (1): done (0.1s)
        * Creating assignments (1): .done (0.2s)
        * Creating pages (1): done (0s)
        * Creating small files (1): done (0.1s)
        * Creating big files (1): done (0.1s)
        * Creating forum (2 posts): done (0.1s)
        * Course completed (0.9s)
         
        Generated course: http://yourwwwroot/course/view.php?id=X
        
        

      Show
      Quiet mode Run: php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS1 --quiet --size=XS --filesizelimit=1024 --bypasscheck There should be no output. With output: Run: php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS2 --size=XS --filesizelimit=1024 --bypasscheck There should be output similar to: * Creating course GENERATED_XS2 * Checking user accounts (1) * Enrolling users into course (1): done (0.1s) * Creating assignments (1): .done (0.2s) * Creating pages (1): done (0s) * Creating small files (1): done (0.1s) * Creating big files (1): done (0.1s) * Creating forum (2 posts): done (0.1s) * Course completed (0.9s)   Generated course: http://yourwwwroot/course/view.php?id=X
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-51632_echo_url

      Description

      Been using the admin/tool/generator/cli/maketestcourse.php and it is great! Would be nice though if it told you about the course it made instead of having to hunt it down.

        Attachments

          Activity

            People

            Assignee:
            bushido Mark Nielsen
            Reporter:
            bushido Mark Nielsen
            Peer reviewer:
            Adrian Greeve
            Integrator:
            David Monllaó
            Tester:
            David Monllaó
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              16/Nov/15