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

Moving blocks causes some blocks to disappear (pinned blocks trouble)



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.5, 1.9
    • Fix Version/s: 1.9.8
    • Component/s: Blocks
    • Labels:
    • Environment:
      Servers: MySQL 5, Apache 2.0.59 on Windows and Ubuntu
      Browsers: IE6 & Firefox 2


      We've been experiencing unpredicatble behaviour with our blocks as well. By default, we have the following blocks displayed in a course view:

      People HTML Block
      Activities Latest News
      Search Forums Upcoming Events
      Administration Recent Activity
      Course Categories

      With editing turned on, moving blocks between columns, and up or down within a column, means that some blocks disappear. For instance, if I move "Recent Activity" to the left column, "Search Forums" will disappear. As soon as it disappears, it is included in the drop-down list of blocks that can be added.

      So I add it back again. It appears in the right-hand column. If I then try to move "Recent Activity" up one position in the left-hand column, it disappears, only to be replaced by "Search Forums". This means there are two instances of "Search Forums" and no instances of "Recent Activity".

      I've tagged this as Major because it's worrying our users a lot.

      You can recreate this problem on our test server:


      Log in as "moodletracker" with password "moodletracker"


        1. 20091002.block.patch
          17 kB
        2. 20091006.block.patch
          20 kB
        3. 20091007_block.patch
          19 kB
        4. 20091007_block.patch
          19 kB
        5. blocklib.php.patch
          3 kB
        6. stickyblockstrouble1.patch
          3 kB
        7. v2_blocklib.php.patch
          7 kB
        8. v3_blocklib.php.patch
          6 kB

          Issue Links



              • Votes:
                39 Vote for this issue
                32 Start watching this issue


                • Created:
                  Fix Release Date: