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

Changing configuration of blocks on admin pages is not reversable

XMLWordPrintable

    • MOODLE_29_STABLE

      • navigate to /admin/
      • turn editing on
      • configure the Administration block
      • change "Display on page types" to "The current site administration page"
      • The block is now hidden from non admin pages (expected)
      • configure the Administration block again (from /admin/)
      • Option for "Any page" is removed from "Display on page types" and the block is forever lost from non admin pages.

      I had to fix this manually by setting pagetypepattern='*' in block_instances table for the settings id

      Seems this line is to blame in code: https://github.com/moodle/moodle/blob/MOODLE_29_STABLE/lib/blocklib.php#L1844 because currentcontext and parentcontext are the same.

            Unassigned Unassigned
            jtomkinson Jordan Tomkinson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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