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

Cannot configure or delete blocks added to admin/index.php

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • Hide
      1. Login as admin
      2. Navigate to <WWWROOT>/admin/index.php
      3. Press Blocks editing on (enable Edit mode in master)
      4. Add a Text block (master) or HTML block (stables)
      5. Press Actions menu > Configure in new text block
      6. Add some content and save changes
      7. Confirm that block content is updated
      8. Press Actions menu > Delete in text block
      9. Press Yes, you want to delete the block
      10. Confirm that block is deleted
      Show
      Login as admin Navigate to <WWWROOT>/admin/index.php Press Blocks editing on (enable Edit mode in master) Add a Text block (master) or HTML block (stables) Press Actions menu > Configure in new text block Add some content and save changes Confirm that block content is updated Press Actions menu > Delete in text block Press Yes , you want to delete the block Confirm that block is deleted

      1. Navigate to Site administration > Notifications
      2. Press Blocks editing on
      3. Add a HTML block (or Text block after MDL-72118)
      4. Press Actions menu > Configure
        • Page reloads (can't configure block)
      5. Press Actions menu > Delete
        • Page reloads (can't delete block)

      Possible a regression from MDL-69807. I note that if you manually add the sesskey to the configure/delete URL's then you can load the appropriate page to complete those actions

      There is a note (line 74): https://github.com/moodle/moodle/blob/1d700796ca80e86ceee39f1a5da5d87aa042dbd8/admin/index.php#L70-L74 that indicates the sesskey was used apparently for this page only, in order to disable caching and allow the block configure/delete pages to load

            pholden Paul Holden
            pholden Paul Holden
            Sujith Haridasan Sujith Haridasan
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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