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

Install database CLI script does not show help if Moodle is already installed

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64561-master-test
    • Hide
      1. Clone a new Moodle instance.
      2. Create an empty database.
      3. Run admin/cli/install.php --skip-database.
      4. Verify that config.php is populated but that the database is empty.
      5. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.
      6. Run admin/cli/install_database.php --agree-license --adminpass=youradminpassword.
      7. Verify that the Moodle instance is installed.
      8. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.
      Show
      Clone a new Moodle instance. Create an empty database. Run admin/cli/install.php --skip-database. Verify that config.php is populated but that the database is empty. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed. Run admin/cli/install_database.php --agree-license --adminpass=youradminpassword. Verify that the Moodle instance is installed. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.

    Description

      Discovered inĀ MDLQA-12735. The cli database installation script bails out before checking parameters if tables are present. There was consensus in the linked QA task that you should always be able to get help information for a command.

      Attachments

        Issue Links

          Activity

            People

              cfulton Charles Fulton
              cfulton Charles Fulton
              Shamim Rezaie Shamim Rezaie
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m

                  Clockify

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