← Back to team overview

mahara-contributors team mailing list archive

[Bug 1964428] A change has been merged

 

Reviewed:  https://reviews.mahara.org/12503
Committed: https://git.mahara.org/mahara/mahara/commit/9591ed85bdb16ce4f6fe20e3f758cb6d7bf815ee
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    main

commit 9591ed85bdb16ce4f6fe20e3f758cb6d7bf815ee
Author: Doris Tam <doristam@xxxxxxxxxxxxxxx>
Date:   Thu Mar 17 16:39:53 2022 +1300

Bug 1964428: Preserve sign-off block config in template copies

Prevent deleting and editing the block instance.

Note for personal collections:
As the functionality for collection templates only
exist on an institution level at this point, you will
need to set 'Template' to 'Yes' for all pages in a
personal collection to ensure copies will preserve
the sign-off block config in all the pages in copies
of the collection.

The view_instruction_lock table only watches for individual
pages with the 'Template' switch set to 'Yes'/

Change-Id: Ie18073a5bb4d6c822f15ca023ae9a0eab4876033

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1964428

Title:
  Prevent editing sign-off blocks and preserve config from a templates

Status in Mahara:
  Fix Committed

Bug description:
  We should preserve the config settings of a sign-off block on template
  page copies.

  Note: a template is one where a page has its 'Template' switch set to
  'Yes'.

  For institution collection, this is easier as institution collection
  have the 'Template' functionality which turns all the collection pages
  to templates.

  For personal collections, each page with a sign-off block needs to
  ensure that its 'Template' switch is set to 'Yes'.

  - Disable edits to the sign-off block config
  - Hide the delete button
  - Keep the config of the original template

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



References