← Back to team overview

mahara-contributors team mailing list archive

[Bug 1904352] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/11449

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1904352

Title:
  Adding navigation block to a collection can cause loss of data

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  In Progress
Status in Mahara 21.04 series:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1904352/+subscriptions


References