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

blocks with has_config(true) and no settings.php displays link to invalid page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.5, 2.7.2, 2.8, 2.9.3, 3.0
    • 2.9.4
    • Blocks

    Description

      admin/block.php was the old settings link we used to have before we introduced settings.php support for blocks ages ago. We used to support both old style config.html and settings.php - but now you must include a settings.php.

      So that link should be removed (and probably replaced with a debugging message saying 'cant find settings.php' or something like that).

      Steps to reproduce:

      1. mv block/rss_client/settings.php block/rss_client/settings1.php
      2. Visit Site administration / ▶ Plugins / ▶ Blocks / ▶ Manage blocks
      3. Click the link to settings on RSS block

      Observe that the link doesn't exist.

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              John Okely John Okely
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jan/16