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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.2
    • Fix Version/s: 2.2
    • Component/s: Blocks
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              jlynch John Lynch
              Peer reviewer:
              Martin Dougiamas
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Martin Dougiamas
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/11