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

Maintenance Mode messages don't appear with Force Login enabled

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • Hide
      1. Log in as admin
      2. Go to "site administration > Server > Maintenance mode"
      3. Enable the setting "maintenance_enabled"
      4. Place some dummy content in "maintenance_message"
      5. Press "Save changes"
      6. Log out
      7. Try to navigate to the homepage of the site
      8. Verify that the content in step 4 shows
      9. Navigate to /login/index.php
      10. Verify that the content in step 4 shows
      Show
      Log in as admin Go to "site administration > Server > Maintenance mode" Enable the setting "maintenance_enabled" Place some dummy content in "maintenance_message" Press "Save changes" Log out Try to navigate to the homepage of the site Verify that the content in step 4 shows Navigate to /login/index.php Verify that the content in step 4 shows
    • Internationals - 3.8 Sprint 3

    Description

      With Force Login enabled - when you enable Maintenance Mode and set a message, the message is never seen as the login page always appears. This causes people to attempt to log in and then raise tickets to their administrator.

      When Force Login is disabled - when you enable Maintenance Mode and set a message, this message is seen as soon as you visit the Moodle site. (However if you have a bookmark for the login page, you will never see the maintenance message(another thing that should change? it really should show the message on the login page, too...)).

      This should be changed so that when Force Login is enabled and Maintenance Mode is enabled, the redirect to /login/index.php doesn't happen so that the Maintenance message is viewed.

      - At least, that happened today...

      Attachments

        Issue Links

          Activity

            People

              mathewmay Mathew May
              danbennett Dan Bennett
              Andrew Lyons Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Anna Carissa Sadia Anna Carissa Sadia
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 50 minutes
                  3h 50m