Adding navigation block to a collection can cause loss of data
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
19.10 |
Fix Released
|
High
|
Unassigned | |||
20.04 |
Fix Released
|
High
|
Unassigned | |||
20.10 |
Fix Released
|
High
|
Unassigned | |||
21.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
When doing the following scenario the display of a page can be adversely affected
1) Have a collection of pages that were made before the new grid layout was added, eg before September 2019, that don't have navigation blocks in them. A good test is to have an image block on each page.
2) Go to edit one of the pages - it should prompt you to convert the page to the new grid layout - choose the 'Accept' option
3) Add a navigation block to the page and set 'Add to all pages' to 'Yes'
4) Save the block
Now go view the collection - the page you edited should look normal but the other pages will now be missing all blocks except the Navigation one
Luckily the data is not deleted but just that the new navigation block for those pages has been saved as a block with new grid layout information so the page is rendered as a new layout page.
What we need to do is save the navigation block onto the pages in old layout way so that it all displays again as expected.
no longer affects: | mahara |
Patch for "20.10_STABLE" branch: https:/ /reviews. mahara. org/11447