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

There is no way to disable tool/generator

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.5.3, 2.6
    • Performance
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-42823_master
    • Hide

      First test with no changes in config.php

      1. Switch the debug setting to "DEVELOPER"
      2. Click on "Site administration / Development / Make test course".
        The page "Make test course" should be appear.
      3. Click on "Site administration / Development / Make JMeter test plan".
        The page "Make JMeter test plan" should be appear.

      Second test with new settings in config.php

      1. Edit the config.php - Insert the line "$CFG->tool_generator_disabled = true;"
      2. Reload the moodle page
        Both links "Make test course" and "Make JMeter test plan" should disappear.
      3. Try to call the links to these pages over the URL
      • admin/tool/generator/maketestcourse.php
      • admin/tool/generator/maketestplan.php
        Both pages should show an error message with the information that the tool is disabled.
      Show
      First test with no changes in config.php Switch the debug setting to "DEVELOPER" Click on "Site administration / Development / Make test course". The page "Make test course" should be appear. Click on "Site administration / Development / Make JMeter test plan". The page "Make JMeter test plan" should be appear. Second test with new settings in config.php Edit the config.php - Insert the line "$CFG->tool_generator_disabled = true;" Reload the moodle page Both links "Make test course" and "Make JMeter test plan" should disappear. Try to call the links to these pages over the URL admin/tool/generator/maketestcourse.php admin/tool/generator/maketestplan.php Both pages should show an error message with the information that the tool is disabled.

      The usage of the tool/generator can be a great performance impact in productive systems.
      In my opinion there should be a $CFG setting that disable this tool.

            Unassigned Unassigned
            grabs Andreas Grabs
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.