diff --git a/UPGRADING.md b/UPGRADING.md index f440701ac24..d9f890f997d 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -6,6 +6,16 @@ More detailed information on key changes can be found in the [Developer update n The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com). +## 5.0.6+ + +### core_question + +#### Added + +- During restore of a question_set_reference, mapping of IDs in the filtercondition is now delegated to qbank plugins. If your qbank plugin defines a filter condition that uses database IDs, add an override of `restore_filtercondition()` to the `condition` class, which checks the condition's data and replaces the IDs with mapped values if required. See `qbank_managecategories\category_condition` for an example. + + For more information see [MDL-86524](https://tracker.moodle.org/browse/MDL-86524) + ## 5.0.5 ### core diff --git a/question/UPGRADING.md b/question/UPGRADING.md index 0d4ffcbfe97..1db3b0fb52d 100644 --- a/question/UPGRADING.md +++ b/question/UPGRADING.md @@ -1,5 +1,13 @@ # core_question (subsystem) Upgrade notes +## 5.0.6+ + +### Added + +- During restore of a question_set_reference, mapping of IDs in the filtercondition is now delegated to qbank plugins. If your qbank plugin defines a filter condition that uses database IDs, add an override of `restore_filtercondition()` to the `condition` class, which checks the condition's data and replaces the IDs with mapped values if required. See `qbank_managecategories\category_condition` for an example. + + For more information see [MDL-86524](https://tracker.moodle.org/browse/MDL-86524) + ## 5.0.5 ### Fixed