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

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

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              pholden Paul Holden
              Peer reviewer:
              Sujith Haridasan Sujith Haridasan
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Nov/21

                  Time Tracking

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