Moodle

Adding/removing course sticky blocks causes blocks to disappear from front page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.10
  • Component/s: Blocks
  • Labels:
    None
  • Environment:
    Cent OS, Moodle 1.9.4, PHP 5.1.6, MySQL 5.0.45
  • Database:
    MySQL
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

We have always used manually pinned blocks on all courses across our five sites. Today we decided to start using sticky blocks to ensure minimum layout conformity across courses and after selecting the desired sticky blocks, we deleted the duplicate pinned blocks from the courses. On returning the front page, all the html and poll blocks on the right side of the front page had disappeared. This occurred across all five moodle sites (that will teach us to not test properly!) so we can be sure that it's repeatable in our configuration.

Workaround is that we deleted all sticky blocks for courses and returned to using pinned blocks. We also had to recreate the missing front page html and poll blocks manually. Using pinned blocks is not a major inconvenience at the moment but the loss of blocks from the front page has taught us to be rather more cautious in the future. It's flagged as major because information is lost from the site and database.

Issue Links

Activity

Hide
Fernando Oliveira added a comment -

I get a similar problem with 1.95 with sticky blocks at the course level. Some regular blocks disappear when they are added beneath the sticky block. Moving the remaining visible blocks over to the other side seems to bring back the lost blocks. Problem seems to go away if sticky blocks are disabled. Sticky blocks seem to be effecting the weight values for the other blocks.

Show
Fernando Oliveira added a comment - I get a similar problem with 1.95 with sticky blocks at the course level. Some regular blocks disappear when they are added beneath the sticky block. Moving the remaining visible blocks over to the other side seems to bring back the lost blocks. Problem seems to go away if sticky blocks are disabled. Sticky blocks seem to be effecting the weight values for the other blocks.
Hide
Rossiani Wijaya added a comment -

This is a similiar issue with MDL-11131. Please refer to MDL-11131 for possible solutions.

Show
Rossiani Wijaya added a comment - This is a similiar issue with MDL-11131. Please refer to MDL-11131 for possible solutions.
Hide
Daniel Neis added a comment -

This issue duplicates MDL-11131 which was resolved and commited to 19_stable

Show
Daniel Neis added a comment - This issue duplicates MDL-11131 which was resolved and commited to 19_stable
Hide
Rossiani Wijaya added a comment -

Please take a look MDL-11131 for patches.

If there is any issue with the course sticky blocks, please feel free to create new tracker.

Thanks.

Resolved.

Show
Rossiani Wijaya added a comment - Please take a look MDL-11131 for patches. If there is any issue with the course sticky blocks, please feel free to create new tracker. Thanks. Resolved.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: