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

If tags are disabled, 'Manage tags' should not be shown in the site admin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.3
    • Component/s: Tags
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to Site administration ► Advanced features
      2. Make sure that "Enable tags functionality" (usetags) is ticked.
      3. Expand Site administration ► Appearance
        • Confirm that the "Manage tags" link is available.
      4. Untick "Enable tags functionality" (usetags).
      5. Expand Site administration ► Appearance
        • Confirm that the "Manage tags" link is not available.
      Show
      Go to Site administration ► Advanced features Make sure that " Enable tags functionality " (usetags) is ticked. Expand Site administration ► Appearance Confirm that the " Manage tags " link is available. Untick " Enable tags functionality " (usetags). Expand Site administration ► Appearance Confirm that the " Manage tags " link is not available.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54646-master

      Description

      Steps to reproduce:

      1. Untick 'Enable tags functionality' in Site admin > Advanced features.
      2. Search the site admin block for 'Tags'

      Expected result:

      The Manage tags page should not appear in the search results

      Actual result:

      The Manage tags page appears in the search results. If you follow the link, an error is displayed:

      Tags are disabled

      More information about this error

      ×Debug info:
      Error code: tagsaredisabled
      ×Stack trace:
      line 495 of /lib/setuplib.php: moodle_exception thrown
      line 60 of /tag/manage.php: call to print_error()

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Nov/16