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

Block config on some pages result in settings you can't undo, and undesirable pagetype/context settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.2
    • 2.1.2, 2.2
    • Blocks

      I am trying to customize the blocks that students will see on their user profile page. I go to Settings > Site Administration > Appearance > Default profile page and click the "Customize this page" button. Then, I add a block. If I leave it as-is, it works fine, and appears where it should. But if I can go into its settings to edit its page context, strange things happen. The first time you access it, there are two choices under "Display on page types": "Only user profile pages" and "My home page." The SECOND and all later times that you return to those settings, a third option "All pages," has appeared.

      What is problematic is that, once "All pages" has appeared, the block's "Display on page types" ALWAYS defaults to this, no matter what setting I choose. If I change "Only user profile pages" (see image "beforesaving.png"), and then press "Save," the setting is actually immediately reset to "All pages" (see image "aftersaving.png"). I cannot figure out why the setting that I apply won't "stick."

      I have replicated this problem on both our local Moodle 2.x installation and on demo.moodle.org.

            stronk7 Eloy Lafuente (stronk7)
            jlynch John Lynch
            Martin Dougiamas Martin Dougiamas
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Martin Dougiamas Martin Dougiamas
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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