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

Admin bookmarks block fails to bookmark Admin categories

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64025-master
    • Hide
      1. Log into Moodle with admin account
      2. Go to Site administration and click the "Blocks editing on" button.
      3. The Admin Bookmarks block should appear either on the bottom left (clean) or right (boost)
      4. In the Admin bookmarks block, do Cog → "Configure Admin bookmarks block" and set "Display on page types" to "Any site administration page" and save changes.
      5. Visit a category page in the admin settings,
        e.g. /admin/category.php?category=analytics (see screenshot)
      6. Click on "Bookmark this page" in the admin bookmarks block
      7. Confirm that the link to the category is added as a bookmark to the admin bookmarks block.
      8. Click on the link that was just added and confirm that you are redirected to the page bookmarked.
      9. Click on the "Unbookmark this page" link in the admin bookmarks block.
      10. Confirm that the link is removed from the block and there is no error.
      Show
      Log into Moodle with admin account Go to Site administration and click the "Blocks editing on" button. The Admin Bookmarks block should appear either on the bottom left (clean) or right (boost) In the Admin bookmarks block, do Cog → "Configure Admin bookmarks block" and set "Display on page types" to "Any site administration page" and save changes. Visit a category page in the admin settings, e.g. /admin/category.php?category=analytics (see screenshot) Click on "Bookmark this page" in the admin bookmarks block Confirm that the link to the category is added as a bookmark to the admin bookmarks block. Click on the link that was just added and confirm that you are redirected to the page bookmarked. Click on the "Unbookmark this page" link in the admin bookmarks block. Confirm that the link is removed from the block and there is no error.

      You can bookmark admin pages with the "Admin bookmarks" block, but when on a Admin category page hitting the Bookmark button gives an 'Invalid section' error.

      To reproduce:

      1. Log in as Admin
      2. Make sure in Site administration → Navigation 'linkadmincategories' is enabled.
      3. Navigate to Site administration → Language (admin/category.php?category=language)
      4. Click on the "Bookmark this page" Link in the Admin bookmarks block on the right hand side.

      WHAT YOU EXPECTED: The 'Language' category page is bookmarked.

      WHAT ACTUALLY HAPPENS: An 'Invalid section' error occurs.

            christianwolters Christian Wolters
            lucaboesch Luca Bösch
            Luca Bösch Luca Bösch
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m

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